# YugabyteDB RAG LangChain

> Hybrid vector+FTS via LangChain PGVectorStore

**Subcategory:** YugabyteDB  
**License:** Apache-2.0  
**Source:** https://github.com/yugabyte/skills/blob/main/skills/yb-rag-langchain/SKILL.md

---

## When it is useful

RAG / hybrid vector+FTS with LangChain PGVectorStore on YugabyteDB.

## The Catch

Not Pinecone/Qdrant. ANN is ybhnsw; IVFFlat unsupported. PGVectorStore v2 not v1. HybridSearchConfig top_k defaults to 4.
