RAG CLI
Thepraisonai rag command group provides full RAG (Retrieval-Augmented Generation) functionality from the command line.
Full RAG CLI Documentation
See the complete RAG CLI reference with all commands, options, and examples.
Quick Reference
Key Features
- Hybrid Retrieval: Use
--hybridto combine dense vectors with BM25 keyword search - Reranking: Use
--rerankto improve result quality - OpenAI-Compatible API: Use
--openai-compatwithrag servefor drop-in compatibility - Performance Profiling: Use
--profileto measure and optimize performance - Config Files: Use
--configfor reproducible setups with YAML configuration
Common Examples
Related
- Knowledge CLI - Indexing and search without LLM generation
- RAG Module - Python API for RAG
- RAG Quickstart - Getting started with RAG

