Interface TextChatUserAudioContent

The definition of a user audio content.

interface TextChatUserAudioContent {
    data_asset?: TextChatDataAsset;
    input_audio?: TextChatUserInputAudio;
    type: "input_audio";
}

Hierarchy (view full)

Properties

data_asset?: TextChatDataAsset

The data asset of an audio uploaded into the space_id or project_id. If data_asset is specified, the data field in input_audio will be automatically set with the URL of the uploaded audio.

The input audio configuration.

type: "input_audio"

The type of the user content. You can get the list of models supporting text, image, audio, video by using Foundation Model Specs with filters=function_text_chat, filters=function_image_chat, filters=function_audio_chat, filters=function_video_chat respectively.