langchain.js
    Preparing search index...

    Interface for AI21 input parameters.

    interface AI21Input {
        ai21ApiKey?: string;
        baseUrl?: string;
        countPenalty?: AI21PenaltyData;
        frequencyPenalty?: AI21PenaltyData;
        logitBias?: Record<string, number>;
        maxTokens?: number;
        minTokens?: number;
        model?: string;
        numResults?: number;
        presencePenalty?: AI21PenaltyData;
        stop?: string[];
        temperature?: number;
        topP?: number;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    ai21ApiKey?: string
    baseUrl?: string
    countPenalty?: AI21PenaltyData
    frequencyPenalty?: AI21PenaltyData
    logitBias?: Record<string, number>
    maxTokens?: number
    minTokens?: number
    model?: string
    numResults?: number
    presencePenalty?: AI21PenaltyData
    stop?: string[]
    temperature?: number
    topP?: number