Interface TextChatUserImageURLContent

The definition of a user image content.

interface TextChatUserImageURLContent {
    data_asset?: TextChatDataAsset;
    image_url?: WatsonXAI.TextChatUserImageURL;
    type: "image_url";
}

Hierarchy (view full)

Properties

data_asset?: TextChatDataAsset

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

The image URL configuration.

type: "image_url"

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.