vector-db

Provide expert guidance on vector databases, embeddings, and RAG patterns.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/bacoco/openfang-fork --skill vector-db-bacoco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vector-db
Source: https://github.com/bacoco/openfang-fork/tree/main/crates/openfang-skills/bundled/vector-db
Command: npx skills add https://github.com/bacoco/openfang-fork --skill vector-db-bacoco

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance on building and optimizing vector databases for applications like semantic search, recommendation systems, and Retrieval-Augmented Generation (RAG).

Core Features & Use Cases

  • Embedding Model Selection: Advice on choosing the right models for your data and task.
  • Indexing Strategies: Guidance on different index types (HNSW, IVF) and their trade-offs.
  • RAG Pipeline Design: Best practices for implementing hybrid search, chunking, and reranking.
  • Use Case: Optimize a RAG system for a company's internal knowledge base to ensure accurate and relevant answers from an LLM.

Quick Start

Provide a detailed explanation of how to configure HNSW indexes for optimal performance.

Frequently Asked Questions about vector-db

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure HNSW indexes for optimal performance in a vector database?

To configure HNSW indexes for optimal performance, you must balance parameters like maximum connections and search depth to optimize memory usage and query latency in your vector database. This Skill provides detailed configuration guidance to tune these index algorithms for your specific semantic search or RAG deployment needs.

What is the best way to implement hybrid search for Retrieval-Augmented Generation?

The best way to implement hybrid search for Retrieval-Augmented Generation is combining BM25 keyword search with vector embeddings using Reciprocal Rank Fusion (RRF). This approach merges lexical and semantic matching, significantly improving retrieval accuracy for LLM knowledge augmentation over standard dense searches.

How do I choose the right embedding models and distance metrics for semantic search?

Choosing the right embedding models and distance metrics for semantic search requires evaluating your data modality and task similarity thresholds. This Skill offers expert advice on selecting appropriate models and calculating distances to ensure precise vector representations for your recommendation systems.

What chunking techniques should I use for LLM knowledge augmentation?

Effective chunking techniques for LLM knowledge augmentation involve splitting documents into semantically coherent sections before embedding generation to preserve context. This Skill details best practices for text segmentation and reranking strategies to maintain retrieval relevance within your RAG pipeline.

When should I use HNSW versus IVF indexing strategies in a vector database?

You should choose between HNSW and IVF indexing strategies based on your specific trade-offs between query speed, memory overhead, and dataset scale in your vector database. This Skill explains the distinct characteristics of each index algorithm to guide your production deployment configuration.

Does metadata filtering work with vector databases for production RAG systems?

Yes, metadata filtering works with vector databases to refine semantic search results before or after vector retrieval in production RAG systems. This Skill provides implementation patterns for combining structured metadata constraints with vector similarity searches to ensure highly relevant LLM answers.