Video Agent Builder • Rust AI Agent SDK
VideoAgentBuilder: Builder for VideoAgent
VideoAgentBuilder
Defined in the agents module.
Rust AI Agent SDK
Builder for VideoAgent
Fields
| Name | Type | Description |
|---|---|---|
name | Option<String> | – |
model | Option<String> | – |
config | VideoConfig | – |
verbose | bool | – |
Methods
name
fn name(mut self, name: impl Into<String>) -> SelfSet the agent name
Parameters:
| Name | Type |
|---|---|
name | impl Into<String> |
model
fn model(mut self, model: impl Into<String>) -> SelfSet the model
Parameters:
| Name | Type |
|---|---|
model | impl Into<String> |
config
fn config(mut self, config: VideoConfig) -> SelfSet the config
Parameters:
| Name | Type |
|---|---|
config | VideoConfig |
build
fn build(self) -> Result<VideoAgent>Build the VideoAgent
Source
View on GitHubpraisonai/src/agents/mod.rs at line 518