Realtime Agent • Rust AI Agent SDK
RealtimeAgent: Agent for real-time voice conversations.
RealtimeAgent
Defined in the agents module.
Rust AI Agent SDK
Agent for real-time voice conversations.
Fields
| Name | Type | Description |
|---|---|---|
name | String | – |
model | String | Model to use |
config | RealtimeConfig | Configuration |
verbose | bool | – |
Methods
new
fn new() -> RealtimeAgentBuilderCreate a new builder
name
fn name(&self) -> &strGet agent name
send_text
fn send_text(&self, text: &str) -> Result<String>Send text message (placeholder)
Parameters:
| Name | Type |
|---|---|
text | &str |
Source
View on GitHubpraisonai/src/agents/mod.rs at line 1304