RealtimeConfig
Defined in the agents module.Rust AI Agent SDK Configuration for realtime voice settings.
Fields
| Name | Type | Description |
|---|---|---|
voice | String | Voice for audio output |
modalities | Vec<String> | Modalities (text, audio) |
turn_detection | String | Turn detection mode |
input_audio_format | String | Input audio format |
output_audio_format | String | Output audio format |
temperature | f32 | Temperature |
max_response_output_tokens | Option<usize> | Max response tokens |
instructions | Option<String> | System instructions |
Methods
new
voice
| Name | Type |
|---|---|
voice | impl Into<String> |
modalities
| Name | Type |
|---|---|
modalities | Vec<String> |
turn_detection
| Name | Type |
|---|---|
mode | impl Into<String> |
temperature
| Name | Type |
|---|---|
temp | f32 |
max_response_output_tokens
| Name | Type |
|---|---|
tokens | usize |
instructions
| Name | Type |
|---|---|
instructions | impl Into<String> |
Source
View on GitHub
praisonai/src/agents/mod.rs at line 1225
