RealtimeConfig
Defined in the Realtime Agent module.AI Agent Configuration for RealtimeAgent. Attributes: voice: Voice to use for audio output (alloy, echo, fable, onyx, nova, shimmer) modalities: List of modalities to use (text, audio) turn_detection: Turn detection mode (server_vad, none) input_audio_format: Input audio format (pcm16, g711_ulaw, g711_alaw) output_audio_format: Output audio format (pcm16, g711_ulaw, g711_alaw) temperature: Sampling temperature (0.0 to 2.0) max_response_output_tokens: Maximum tokens for response instructions: System instructions for the session
Properties
str
No description available.
List[str]
No description available.
str
No description available.
str
No description available.
str
No description available.
float
No description available.
Optional[int]
No description available.
Optional[str]
No description available.
Internal & Generic Methods
Internal & Generic Methods
- to_dict: Convert config to dictionary.
Source
View on GitHub
praisonaiagents/agent/realtime_agent.py at line 10
