Interface StreamedChatCompletionResponse

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

Properties

Properties

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

Type declaration

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

Generated using TypeDoc