Schema
Schema name: RealtimeServerEventInputAudioBufferCommitted
json
{
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/RealtimeServerEventInputAudioBufferCommitted",
"docstring": "Returned when an input audio buffer is committed, either by the client or\nautomatically in server VAD mode. The `item_id` property is the ID of the user\nmessage item that will be created, thus a `conversation.item.created` event\nwill also be sent to the client.\n",
"ident": "InputAudioBufferCommittedEvent",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "event_id"
},
{
"ident": "item_id"
},
{
"ident": "type"
},
{
"ident": "previous_item_id"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) event_id",
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) item_id",
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) type",
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) previous_item_id"
]
},
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) event_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeServerEventInputAudioBufferCommitted/properties/event_id",
"deprecated": false,
"key": "event_id",
"docstring": "The unique ID of the server event.",
"type": {
"kind": "HttpTypeString"
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) item_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeServerEventInputAudioBufferCommitted/properties/item_id",
"deprecated": false,
"key": "item_id",
"docstring": "The ID of the user message item that will be created.",
"type": {
"kind": "HttpTypeString"
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeServerEventInputAudioBufferCommitted/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The event type, must be `input_audio_buffer.committed`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/RealtimeServerEventInputAudioBufferCommitted/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "input_audio_buffer.committed"
}
]
},
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) type > (member) 0"
]
},
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) previous_item_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeServerEventInputAudioBufferCommitted/properties/previous_item_id",
"deprecated": false,
"key": "previous_item_id",
"docstring": "The ID of the preceding item after which the new item will be inserted.\nCan be `null` if the item has no predecessor.\n",
"type": {
"kind": "HttpTypeString"
},
"optional": true,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) realtime > (model) input_audio_buffer_committed_event > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "input_audio_buffer.committed"
}
}
}