SAP AI SDK for JavaScript - v2.13.0
    Preparing search index...

    Type Alias LlmModelParams

    LlmModelParams: {
        frequency_penalty?: number;
        max_tokens?: number;
        n?: number;
        presence_penalty?: number;
        temperature?: number;
        top_p?: number;
    } & Record<string, any>

    Model parameters for the LLM module configuration. These are set once at client construction and apply to every request made by this client. To use different parameters for a request, create a new OrchestrationClient instance. You can pass model-specific parameters, that are not specified in LlmModelParams (e.g. tool_choice, reasoning_effort), but behavior depends on the underlying model provider.

    params: { temperature: 0.7, max_tokens: 512 }
    
    params: { reasoning_effort: 'high' }