SpeechAnnotation: {
    end_index?: number;
    speaker?: string;
    start_index?: number;
    style?: string;
    type: "speech_metadata";
}

Speech annotation for text content.

Type declaration

  • Optionalend_index?: number

    End of the attributed segment, exclusive.

  • Optionalspeaker?: string

    The speaker to associate with this turn.

  • Optionalstart_index?: number

    Start of segment of the response that is attributed to this source.

    Index indicates the start of the segment, measured in bytes.

  • Optionalstyle?: string

    Style instruction for the speech synthesis.

  • type: "speech_metadata"