Interface ChatCompletionModel

Describes the response format of a chat request.

ChatCompletionModel

interface ChatCompletionModel {
    choices?: ChatCompletionChoiceModel[];
    id?: string;
    model?: string;
    usage?: UsageModel;
}

Properties

A list of chat completion choices.

ChatCompletionModel

id?: string

A unique identifier for this chat response.

ChatCompletionModel

model?: string

The name or identifier of the model used to generate this chat response.

ChatCompletionModel

usage?: UsageModel

ChatCompletionModel