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.
DeepResearchConfig
Defined in the agents module.
Rust AI Agent SDK
Configuration for deep research settings.
Fields
| Name | Type | Description |
|---|
max_sources | usize | Maximum number of sources to include |
include_citations | bool | Include citations in output |
max_depth | usize | Maximum research depth |
timeout | u32 | Timeout in seconds |
api_base | Option<String> | API base URL |
api_key | Option<String> | API key |
Methods
new
Create a new config
max_sources
fn max_sources(mut self, max: usize) -> Self
Set max sources
Parameters:
include_citations
fn include_citations(mut self, include: bool) -> Self
Set include citations
Parameters:
max_depth
fn max_depth(mut self, depth: usize) -> Self
Set max depth
Parameters:
timeout
fn timeout(mut self, timeout: u32) -> Self
Set timeout
Parameters:
Source
View on GitHub
praisonai/src/agents/mod.rs at line 1039