Interface ChatCompletionResponse

interface ChatCompletionResponse {
    choices: {
        finish_reason: string;
        index: number;
        logprobs: any;
        message: ChatMessage;
    }[];
    created: number;
    id: string;
    model: string;
    object: string;
}

Properties

choices: {
    finish_reason: string;
    index: number;
    logprobs: any;
    message: ChatMessage;
}[]

Type declaration

  • finish_reason: string
  • index: number
  • logprobs: any
  • message: ChatMessage
created: number
id: string
model: string
object: string

Generated using TypeDoc