ServerEventResponseAudioTranscriptAnnotationAdded interface
Returned when an audio transcript annotation is added to a response.
- Extends
Properties
| annotation | The annotation object. |
| annotation |
The index of the annotation. |
| content |
The index of the content part in the item's content array. |
| item |
The ID of the item. |
| output |
The index of the output item in the response. |
| response |
The ID of the response. |
| type | The event type, must be |
Inherited Properties
| event |
Property Details
annotation
The annotation object.
annotation: any
Property Value
any
annotationIndex
The index of the annotation.
annotationIndex: number
Property Value
number
contentIndex
The index of the content part in the item's content array.
contentIndex: number
Property Value
number
itemId
The ID of the item.
itemId: string
Property Value
string
outputIndex
The index of the output item in the response.
outputIndex: number
Property Value
number
responseId
The ID of the response.
responseId: string
Property Value
string
type
The event type, must be response.audio_transcript.annotation.added.
type: "response.audio_transcript.annotation.added"
Property Value
"response.audio_transcript.annotation.added"