Interface ChatCompletionResponse

Response when stream=false (or omitted)

interface ChatCompletionResponse {
    choices: ChatCompletionChoice[];
    created: number;
    id: string;
    model: string;
    object: "chat.completion";
    service_tier?: string;
    system_fingerprint?: string;
    usage: ChatCompletionUsage;
}

Properties

created: number
id: string
model: string
object: "chat.completion"
service_tier?: string
system_fingerprint?: string