vandelay knowledge¶
Manage the knowledge/RAG corpus.
Usage¶
Subcommands¶
add¶
Add a file or directory to the knowledge base:
Supported formats: .pdf, .txt, .md, .csv, .json, .docx, .doc
status¶
Check the current knowledge corpus status:
Shows: enabled state, embedder provider, document count, vector store path.
list¶
Show the current vector count and storage path:
refresh¶
Re-index the built-in corpus:
Without --force, only re-indexes if source versions have changed.
clear¶
Clear all knowledge vectors:
How It Works¶
- Documents are read from disk (file or directory)
- Documents are chunked into passages
- Each chunk is embedded via the configured embedder
- Vectors are stored in ChromaDB at
~/.vandelay/data/knowledge_vectors/
The agent queries this vector store when knowledge.enabled is true and search_knowledge is active on the agent.
Embedder Resolution¶
See Knowledge concept for details on how the embedder is auto-resolved from your model provider.