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

interface AlephAlphaInput {
    base_url: string;
    completion_bias_exclusion_first_token_only: boolean;
    completion_bias_inclusion_first_token_only: boolean;
    control_log_additive: boolean;
    maximum_tokens: number;
    model: string;
    raw_completion: boolean;
    aleph_alpha_api_key?: string;
    best_of?: number;
    completion_bias_exclusion?: string[];
    completion_bias_inclusion?: string[];
    contextual_control_threshold?: number;
    disable_optimizations?: boolean;
    echo?: boolean;
    frequency_penalty?: number;
    log_probs?: number;
    logit_bias?: object;
    minimum_tokens?: number;
    n?: number;
    penalty_bias?: string;
    penalty_exceptions?: string[];
    penalty_exceptions_include_stop_sequences?: boolean;
    presence_penalty?: number;
    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 full)

Implemented by

Properties

base_url: string
completion_bias_exclusion_first_token_only: boolean
completion_bias_inclusion_first_token_only: boolean
control_log_additive: boolean
maximum_tokens: number
model: string
raw_completion: boolean
aleph_alpha_api_key?: string
best_of?: number
completion_bias_exclusion?: string[]
completion_bias_inclusion?: string[]
contextual_control_threshold?: number
disable_optimizations?: boolean
echo?: boolean
frequency_penalty?: number
log_probs?: number
logit_bias?: object
minimum_tokens?: number
n?: number
penalty_bias?: string
penalty_exceptions?: string[]
penalty_exceptions_include_stop_sequences?: boolean
presence_penalty?: number
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

Generated using TypeDoc