What problem does it solve? Building a RAG system requires correctly wiring together document loading, text splitting, embedding generation, vector storage, and retrieval, and small mistakes like mismatched embedding models or poor chunk sizes silently degrade answer quality. ## Core Features & Use Cases - End-to-End RAG Pipeline: Complete load, split, embed, store, retrieve, and generate workflows in both Python and TypeScript. - Vector Store Guidance: Selection table and setup examples for InMemory, FAISS, Chroma, and Pinecone with persistence patterns. - Retrieval Techniques: Similarity search with scores, MMR for diversity, metadata filtering, and RAG-as-a-tool agent integration. - Common Pitfall Fixes: Concrete corrections for chunk sizing, missing overlap, non-persistent stores, inconsistent embeddings, FAISS deserialization, and dimension mismatches. - Use Case: You are building a documentation Q&A assistant. Use this Skill to load PDF and web pages, split them into 1000-character chunks with overlap, embed them with OpenAI text-embedding-3-small, persist them in Chroma, and expose retrieval as a tool to a LangChain agent. ## Quick Start Use the langchain-rag skill to build a RAG pipeline that loads my PDF documents, stores embeddings in Chroma, and answers questions with an OpenAI chat model.