Skip to main content
Code Intelligence
Knowledge CLI
Manage RAG/vector store knowledge bases with advanced retrieval strategies
The
Expected Output:
Expected Output:
See Knowledge CLI for the full flag reference, and Search Results for the
Expected Output:
Expected Output:
Expected Output:
Expected Output:
Expected Output:
Expected Output:
Expected Output:
Expected Output:
knowledge command manages document knowledge bases with support for multiple vector stores, retrieval strategies, rerankers, and query modes.
Quick Start
Commands
Add Documents
Query Knowledge Base
Search Knowledge Base
Unlikequery, search returns raw ranked results with no LLM answer generation.
SearchResult shape returned when calling Knowledge.search() from Python.
List Documents
Show Knowledge Base Info
Clear Knowledge Base
Show Statistics
The Chroma store persists at the SDK default
<project>/.praisonai/knowledge/chroma (absolute, per project) unless you set vector_store.config.path. See Knowledge Storage.Export Knowledge Base
Import Knowledge Base
Help
Advanced Options Reference
Vector Stores
Retrieval Strategies
Rerankers
Index Types
Query Modes
Supported File Types
Use Cases
Documentation Search
Code Understanding
Research Assistant
Using Knowledge with Agents
Once documents are added, agents can automatically query the knowledge base:Best Practices
Document Quality
Use well-structured documents with clear headings
Regular Updates
Keep knowledge base updated with latest documentation
Specific Queries
Use specific search terms for better results
Organize by Topic
Group related documents together


