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.
DeepResearchResponse
Defined in the extras module.
Rust AI Agent SDK
Complete response from a Deep Research query
Fields
| Name | Type | Description |
|---|
report | String | The final research report text |
citations | Vec<Citation> | List of citations with source metadata |
reasoning_steps | Vec<ReasoningStep> | List of reasoning steps taken |
web_searches | Vec<WebSearchCall> | List of web search queries executed |
code_executions | Vec<CodeExecutionStep> | List of code execution steps |
file_searches | Vec<FileSearchCall> | List of file search calls (Gemini) |
provider | Provider | The provider used |
interaction_id | Option<String> | Interaction ID (Gemini) or Response ID (OpenAI) |
Methods
new
fn new(report: impl Into<String>) -> Self
Create a new deep research response
Parameters:
| Name | Type |
|---|
report | impl Into<String> |
get_citation_text
fn get_citation_text(&self, citation: &Citation) -> &str
Extract the text that a citation refers to
Parameters:
| Name | Type |
|---|
citation | &Citation |
get_all_sources
fn get_all_sources(&self) -> Vec<HashMap<String, String>>
Get a list of all unique sources cited
Source
View on GitHub
praisonai/src/parity/extras.rs at line 161