You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/realtime-audio-reference.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ The client `input_audio_buffer.append` event is used to append audio bytes to th
143
143
144
144
In Server VAD (Voice Activity Detection) mode, the audio buffer is used to detect speech and the server decides when to commit. When server VAD is disabled, the client can choose how much audio to place in each event up to a maximum of 15 MiB. For example, streaming smaller chunks from the client can allow the VAD to be more responsive.
145
145
146
-
Unlike made other client events, the server doesn't send a confirmation response to client `input_audio_buffer.append` event.
146
+
Unlike most other client events, the server doesn't send a confirmation response to client `input_audio_buffer.append` event.
147
147
148
148
#### Event structure
149
149
@@ -1117,18 +1117,28 @@ The item to add to the conversation.
1117
1117
1118
1118
### RealtimeConversationRequestItem
1119
1119
1120
+
You use the `RealtimeConversationRequestItem` object to create a new item in the conversation via the [conversation.item.create](#realtimeclienteventconversationitemcreate) event.
1121
+
1120
1122
| Field | Type | Description |
1121
1123
|-------|------|-------------|
1122
1124
| type |[RealtimeItemType](#realtimeitemtype)| The type of the item. |
1123
-
| id | string | The unique ID of the item. |
1125
+
| id | string | The unique ID of the item. The ID can be specified by the client to help manage server-side context. If the client doesn't provide an ID, the server generates one. |
1124
1126
1125
1127
### RealtimeConversationResponseItem
1126
1128
1129
+
The `RealtimeConversationResponseItem` object represents an item in the conversation. It's used in some of the server events, such as:
| type |[RealtimeItemType](#realtimeitemtype)| The type of the item. |
1131
-
| id | string | The unique ID of the item.<br><br>This property is nullable. |
1139
+
| object | string | The identifier for the returned API object.<br><br>Allowed values: `realtime.item`|
1140
+
| type |[RealtimeItemType](#realtimeitemtype)| The type of the item.<br><br>Allowed values: `message`, `function_call`, `function_call_output`|
1141
+
| id | string | The unique ID of the item. The ID can be specified by the client to help manage server-side context. If the client doesn't provide an ID, the server generates one.<br><br>This property is nullable. |
0 commit comments