Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/realtime/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Key differences from regular agents:

### Model settings

The session configuration allows you to control the underlying realtime model behavior. You can configure the model name (such as `gpt-4o-realtime-preview`), voice selection (alloy, echo, fable, onyx, nova, shimmer), and supported modalities (text and/or audio). Audio formats can be set for both input and output, with PCM16 being the default.
The session configuration allows you to control the underlying realtime model behavior. You can configure the model name (such as `gpt-realtime`), voice selection (alloy, echo, fable, onyx, nova, shimmer), and supported modalities (text and/or audio). Audio formats can be set for both input and output, with PCM16 being the default.

### Audio configuration

Expand Down
6 changes: 3 additions & 3 deletions docs/realtime/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runner = RealtimeRunner(
starting_agent=agent,
config={
"model_settings": {
"model_name": "gpt-4o-realtime-preview",
"model_name": "gpt-realtime",
"voice": "alloy",
"modalities": ["text", "audio"],
}
Expand Down Expand Up @@ -95,7 +95,7 @@ async def main():
starting_agent=agent,
config={
"model_settings": {
"model_name": "gpt-4o-realtime-preview",
"model_name": "gpt-realtime",
"voice": "alloy",
"modalities": ["text", "audio"],
"input_audio_transcription": {
Expand Down Expand Up @@ -135,7 +135,7 @@ if __name__ == "__main__":

### Model settings

- `model_name`: Choose from available realtime models (e.g., `gpt-4o-realtime-preview`)
- `model_name`: Choose from available realtime models (e.g., `gpt-realtime`)
- `voice`: Select voice (`alloy`, `echo`, `fable`, `onyx`, `nova`, `shimmer`)
- `modalities`: Enable text and/or audio (`["text", "audio"]`)

Expand Down