Pinecone TypeScript SDK - v8.2.0
    Preparing search index...

    Interface ChatCompletionModel

    Describes the response format of a chat request.

    ChatCompletionModel

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

    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