Skip to main content

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

NameTypeDescription
detailStringDetail level (low, high, auto)
max_tokensu32Maximum tokens for response
timeoutu32Timeout in seconds
api_baseOption<String>API base URL
api_keyOption<String>API key

Methods

new

fn new() -> Self
Create a new VisionConfig

detail

fn detail(mut self, detail: impl Into<String>) -> Self
Set detail level Parameters:
NameType
detailimpl Into&lt;String&gt;

max_tokens

fn max_tokens(mut self, max_tokens: u32) -> Self
Set max tokens Parameters:
NameType
max_tokensu32

Source

View on GitHub

praisonai/src/agents/mod.rs at line 899

Rust Configuration

Rust Installation

Rust Vision

Rust Image