Skip to content

Commit d3db1f3

Browse files
committed
realtime how-to updates
1 parent 4700ee1 commit d3db1f3

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

articles/ai-services/openai/realtime-audio-reference.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,21 +1126,20 @@ You use the `RealtimeConversationRequestItem` object to create a new item in the
11261126

11271127
### RealtimeConversationResponseItem
11281128

1129-
The `RealtimeConversationResponseItem` object represents an item in the conversation.
1129+
The `RealtimeConversationResponseItem` object represents an item in the conversation. It's used in some of the server events, such as:
11301130

1131-
| Field | Type | Description |
1132-
|-------|------|-------------|
1133-
| object | string | The identifier for the returned API object.<br><br>Allowed values: `realtime.item` |
1134-
| type | [RealtimeItemType](#realtimeitemtype) | The type of the item.<br><br>Allowed values: `message`, `function_call`, `function_call_output` |
1135-
| 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. |
1136-
1137-
Used by:
11381131
- [conversation.item.created](#realtimeservereventconversationitemcreated)
11391132
- [response.output_item.added](#realtimeservereventresponseoutputitemadded)
11401133
- [response.output_item.done](#realtimeservereventresponseoutputitemdone)
11411134
- [`response.created`](#realtimeservereventresponsecreated) (via the `response` property type [`RealtimeResponse`](#realtimeresponse))
11421135
- [`response.done`](#realtimeservereventresponsedone) (via the `response` property type [`RealtimeResponse`](#realtimeresponse))
11431136

1137+
| Field | Type | Description |
1138+
|-------|------|-------------|
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. |
1142+
11441143
### RealtimeFunctionTool
11451144

11461145
The definition of a function tool as used by the realtime endpoint.

0 commit comments

Comments
 (0)