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