Member Junction
    Preparing search index...

    Interface AzureChatCompletionRequest

    Azure AI Chat Completion Request type

    interface AzureChatCompletionRequest {
        max_tokens?: number;
        messages: ChatMessage[];
        model?: string;
        n?: number;
        response_format?: { type: "json_object" | "text" };
        stream?: boolean;
        temperature?: number;
        top_p?: number;
    }
    Index

    Properties

    max_tokens?: number

    The maximum number of tokens to generate

    messages: ChatMessage[]

    The messages to send to the model

    model?: string

    The ID of the model to use

    n?: number

    The number of chat completion choices to generate

    response_format?: { type: "json_object" | "text" }

    Format of the response to be returned

    stream?: boolean

    Whether to stream the response

    temperature?: number

    The temperature for sampling

    top_p?: number

    The nucleus sampling, top_p probability mass