skills/skills/langbot-testing/references/langrag-knowledge-base.md
Use this reference when validating LangRAG creation, document ingestion, retrieval, and local-agent RAG behavior.
langbot-team/LangRAG from Marketplace if /api/v1/knowledge/engines has no LangRAG engine.LANGBOT_BACKEND_URL/api/v1/knowledge/engines contains plugin id langbot-team/LangRAG.chroma-embeddingchroma-all-MiniLM-L6-v2Important: a Chroma embedding entry must exist under embedding_models. A model accidentally created as an LLM model will appear in the wrong model selector and will not satisfy LangRAG's embedding-model field.
Use cases/langrag-parser-golden-e2e.yaml when validating the LangRAG + GeneralParsers integration on the current master worktree.
Fixture:
fixtures/rag/parser-golden.html
Golden intent:
LANGBOT_REPO, which should point at the master worktree for this run.LANGBOT_RAG_PLUGIN_REPO and LANGBOT_PARSER_PLUGIN_REPO.aurora-parser-rag-9137, GeneralParsers, LangRAG, and the Markdown table header | Parser field | Golden value |.Local install pitfall:
PyMuPDF>=1.24.0, read troubleshooting/plugin-dependency-install-offline.yaml.import fitz and python -m pip install --dry-run 'PyMuPDF>=1.24.0' reports the requirement is satisfied.LANGBOT_FRONTEND_URL.Knowledge.LangRAG.chroma-all-MiniLM-L6-v2 or another known working embedding model.Chunk for smoke/regression tests.Completed.Retrieve Test and query for the sentinel.Recommended fixture:
fixtures/rag/sentinel-doc.txt
Completed.After retrieval passes:
Configuration > AI, add the knowledge base to Knowledge Bases.Debug Chat.