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.
VisionAgent
Defined in the agents module.
Rust AI Agent SDK
A specialized agent for image analysis and understanding.
Fields
| Name | Type | Description |
|---|
name | String | Agent name |
model | String | LLM model (e.g., “gpt-4o”, “claude-3-5-sonnet”) |
config | VisionConfig | Vision configuration |
verbose | bool | Verbose output |
Methods
new
fn new() -> VisionAgentBuilder
Create a new VisionAgent builder
name
Get agent name
describe
fn describe(&self, image_source: &str) -> Result<String>
Describe an image (placeholder)
Parameters:
analyze
fn analyze(&self, image_source: &str, prompt: &str) -> Result<String>
Analyze an image with a custom prompt (placeholder)
Parameters:
| Name | Type |
|---|
image_source | &str |
prompt | &str |
compare
fn compare(&self, images: &[&str]) -> Result<String>
Compare multiple images (placeholder)
Parameters:
Source
View on GitHub
praisonai/src/agents/mod.rs at line 945