Video Agent Builder • Rust AI Agent SDK

VideoAgentBuilder: Builder for VideoAgent

VideoAgentBuilder

Defined in the agents module.

Rust AI Agent SDK

Builder for VideoAgent

Diagram

Input Data

Agent: VideoAgentBuilder

Output Result

Fields

NameTypeDescription
nameOption<String>–
modelOption<String>–
configVideoConfig–
verbosebool–

Methods

name

rust
fn name(mut self, name: impl Into<String>) -> Self

Set the agent name

Parameters:

NameType
nameimpl Into&lt;String&gt;

model

rust
fn model(mut self, model: impl Into<String>) -> Self

Set the model

Parameters:

NameType
modelimpl Into&lt;String&gt;

config

rust
fn config(mut self, config: VideoConfig) -> Self

Set the config

Parameters:

NameType
configVideoConfig

build

rust
fn build(self) -> Result<VideoAgent>

Build the VideoAgent

Source

View on GitHub

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


Related Documentation