Skip to main content

RAG CLI

The praisonai 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 --hybrid to combine dense vectors with BM25 keyword search
  • Reranking: Use --rerank to improve result quality
  • OpenAI-Compatible API: Use --openai-compat with rag serve for drop-in compatibility
  • Performance Profiling: Use --profile to measure and optimize performance
  • Config Files: Use --config for reproducible setups with YAML configuration

Common Examples