System details.

interface TextChatResponse {
    choices: WatsonXAI.TextChatResultChoice[];
    created: number;
    created_at?: string;
    id: 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.

id: string

A unique identifier for the chat completion.

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.