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.
VisionConfig
Defined in the agents module.
Rust AI Agent SDK
Configuration for vision processing settings.
Fields
| Name | Type | Description |
|---|
detail | String | Detail level (low, high, auto) |
max_tokens | u32 | Maximum tokens for response |
timeout | u32 | Timeout in seconds |
api_base | Option<String> | API base URL |
api_key | Option<String> | API key |
Methods
new
Create a new VisionConfig
detail
fn detail(mut self, detail: impl Into<String>) -> Self
Set detail level
Parameters:
| Name | Type |
|---|
detail | impl Into<String> |
max_tokens
fn max_tokens(mut self, max_tokens: u32) -> Self
Set max tokens
Parameters:
Source
View on GitHub
praisonai/src/agents/mod.rs at line 899