Member Junction
    Preparing search index...

    Interface OpenAICompatibleResponsePayload

    OpenAI-wire non-streaming completion payload (the subset MJ drivers consume).

    interface OpenAICompatibleResponsePayload {
        choices: {
            finish_reason: string;
            index: number;
            message: { content: string; role: "assistant" };
        }[];
        created: number;
        id: string;
        model: string;
        object: "chat.completion";
        usage: OpenAICompatibleUsagePayload;
    }
    Index

    Properties

    choices: {
        finish_reason: string;
        index: number;
        message: { content: string; role: "assistant" };
    }[]
    created: number
    id: string
    model: string
    object: "chat.completion"