langchain.js
    Preparing search index...

    Interface for the input parameters specific to the Aleph Alpha LLM.

    interface AlephAlphaInput {
        aleph_alpha_api_key?: string;
        base_url: string;
        best_of?: number;
        completion_bias_exclusion?: string[];
        completion_bias_exclusion_first_token_only: boolean;
        completion_bias_inclusion?: string[];
        completion_bias_inclusion_first_token_only: boolean;
        contextual_control_threshold?: number;
        control_log_additive: boolean;
        disable_optimizations?: boolean;
        echo?: boolean;
        frequency_penalty?: number;
        log_probs?: number;
        logit_bias?: object;
        maximum_tokens: number;
        minimum_tokens?: number;
        model: string;
        n?: number;
        penalty_bias?: string;
        penalty_exceptions?: string[];
        penalty_exceptions_include_stop_sequences?: boolean;
        presence_penalty?: number;
        raw_completion: boolean;
        repetition_penalties_include_completion?: boolean;
        repetition_penalties_include_prompt?: boolean;
        sequence_penalty?: number;
        sequence_penalty_min_length?: number;
        stop?: string[];
        temperature?: number;
        tokens?: boolean;
        top_k?: number;
        top_p?: number;
        use_multiplicative_frequency_penalty?: boolean;
        use_multiplicative_presence_penalty?: boolean;
        use_multiplicative_sequence_penalty?: boolean;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    aleph_alpha_api_key?: string
    base_url: string
    best_of?: number
    completion_bias_exclusion?: string[]
    completion_bias_exclusion_first_token_only: boolean
    completion_bias_inclusion?: string[]
    completion_bias_inclusion_first_token_only: boolean
    contextual_control_threshold?: number
    control_log_additive: boolean
    disable_optimizations?: boolean
    echo?: boolean
    frequency_penalty?: number
    log_probs?: number
    logit_bias?: object
    maximum_tokens: number
    minimum_tokens?: number
    model: string
    n?: number
    penalty_bias?: string
    penalty_exceptions?: string[]
    penalty_exceptions_include_stop_sequences?: boolean
    presence_penalty?: number
    raw_completion: boolean
    repetition_penalties_include_completion?: boolean
    repetition_penalties_include_prompt?: boolean
    sequence_penalty?: number
    sequence_penalty_min_length?: number
    stop?: string[]
    temperature?: number
    tokens?: boolean
    top_k?: number
    top_p?: number
    use_multiplicative_frequency_penalty?: boolean
    use_multiplicative_presence_penalty?: boolean
    use_multiplicative_sequence_penalty?: boolean