ServerEventResponseAudioTranscriptDelta interface

تعاد عند تحديث النسخ المولد من النموذج لمخرجات الصوت.

يمتد

الخصائص

contentIndex

فهرس جزء المحتوى في مصفوفة محتوى العنصر.

delta

دلتا النص.

itemId

معرف العنصر.

outputIndex

مؤشر عنصر الناتج في الرد.

responseId

معرف الرد.

type

يجب أن يكون نوع الحدث هو response.audio_transcript.delta.

الخصائص الموروثة

eventId

تفاصيل الخاصية

contentIndex

فهرس جزء المحتوى في مصفوفة محتوى العنصر.

contentIndex: number

قيمة الخاصية

number

delta

دلتا النص.

delta: string

قيمة الخاصية

string

itemId

معرف العنصر.

itemId: string

قيمة الخاصية

string

outputIndex

مؤشر عنصر الناتج في الرد.

outputIndex: number

قيمة الخاصية

number

responseId

معرف الرد.

responseId: string

قيمة الخاصية

string

type

يجب أن يكون نوع الحدث هو response.audio_transcript.delta.

type: "response.audio_transcript.delta"

قيمة الخاصية

"response.audio_transcript.delta"

تفاصيل الخاصية الموروثة

eventId

eventId?: string

قيمة الخاصية

string

موروث منServerEvent.eventId