System details.

interface TextChatStreamItem {
    choices: WatsonXAI.TextChatResultChoiceStream[];
    created: number;
    created_at?: string;
    id: string;
    model?: string;
    model_id: string;
    model_version?: string;
    system?: WatsonXAI.SystemDetails;
    usage?: WatsonXAI.TextChatUsage;
}

Properties

A list of chat completion choices. Can be more than one if n is greater than 1.

created: number

The Unix timestamp (in seconds) of when the chat completion was created.

created_at?: string

The time when the response was created in ISO 8601 format.

id: string

A unique identifier for the chat completion.

model?: string

This field is a duplicate of model_id and is provided in order to provide better compatibility with other APIs.

model_id: string

The model used for the chat completion.

model_version?: string

The model version (using semantic versioning) if set.

Optional details coming from the service and related to the API call or the associated resource.

Usage statistics for the completion request.