Skip to main content
RAG (Retrieval-Augmented Generation) enhances agents with external knowledge.
RAG::query is not yet implemented in the Rust SDK — calling it returns an Error::Config ("RAG::query is not implemented..."). The surrounding types (chunking, context packing, citations, retrieval configuration) are real and usable, and knowledge-backed agents via Agent::knowledge(KnowledgeConfig) still work. Track full retrieval support in PraisonAI#4944.

Quick Start

1

Set Up RAG


RAG Components


Knowledge

Knowledge base

Chunking

Document chunking