Interface LmChatAzureOpenAiNodeParameters

Source
interface LmChatAzureOpenAiNodeParameters {
    authentication?:
        | "azureOpenAiApi"
        | "azureEntraCognitiveServicesOAuth2Api";
    model?: string;
    options?: {
        frequencyPenalty?: number;
        maxRetries?: number;
        maxTokens?: number;
        presencePenalty?: number;
        responseFormat?: "text"
        | "json_object";
        temperature?: number;
        timeout?: number;
        topP?: number;
    };
}

Properties§

Source§

readonly authentication?: "azureOpenAiApi" | "azureEntraCognitiveServicesOAuth2Api"

Default: "azureOpenAiApi"

Source§

readonly model?: string

The name of the model(deployment) to use (e.g., gpt-4, gpt-35-turbo)

Source§

readonly options?: {
    frequencyPenalty?: number;
    maxRetries?: number;
    maxTokens?: number;
    presencePenalty?: number;
    responseFormat?: "text" | "json_object";
    temperature?: number;
    timeout?: number;
    topP?: number;
}

Additional options to add Default: {}