Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Retrieval-Augmented Generation
Set Up RAG
use praisonai::{Agent, KnowledgeConfig}; let config = KnowledgeConfig::new() .source("docs/") .chunk_size(1000) .retrieval_k(5); let agent = Agent::new() .name("RAG Bot") .knowledge(config) .build()?; agent.chat("Answer based on documents").await?;