Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Citations let agents cite sources in their responses.
Quick Start
Enable Citations
use praisonai::{Agent, KnowledgeConfig};
let config = KnowledgeConfig::new()
.source("docs/")
.citations(true);
let agent = Agent::new()
.name("Researcher")
.knowledge(config)
.build()?;
let response = agent.chat("What does the policy say?").await?;
// Response includes [1], [2] citations with sources
The policy states that refunds are available within 30 days [1].
Premium members receive expedited processing [2].
Sources:
[1] policy.pdf, page 5
[2] membership.txt, line 23