SmythOS SDK
    Preparing search index...

    Interface TGenAILLMSettings

    interface TGenAILLMSettings {
        frequencyPenalty?: number;
        maxContextWindowLength?: number;
        maxThinkingTokens?: number;
        maxTokens?: number;
        model: string;
        name?: string;
        passthrough?: boolean;
        presencePenalty?: number;
        prompt: string;
        responseFormat?: "json" | "text";
        stopSequences?: string;
        temperature?: number;
        topK?: number;
        topP?: number;
        useContextWindow?: boolean;
        useReasoning?: boolean;
        useSystemPrompt?: boolean;
        useWebSearch?: boolean;
        webSearchCity?: string;
        webSearchContextSize?: "high" | "medium" | "low";
        webSearchCountry?: string;
        webSearchRegion?: string;
        webSearchTimezone?: string;
    }
    Index

    Properties

    frequencyPenalty?: number

    Frequency Penalty

    maxContextWindowLength?: number

    The maximum number of messages to use from this component context window (if useContextWindow is true)

    maxThinkingTokens?: number

    Maximum Thinking Tokens

    maxTokens?: number

    Maximum Tokens

    model: string
    name?: string
    passthrough?: boolean

    If true, the LLM response will be returned as is by the agent

    presencePenalty?: number

    Presence Penalty

    prompt: string

    Prompt

    responseFormat?: "json" | "text"

    Response Format

    stopSequences?: string

    Stop Sequences

    temperature?: number

    Temperature

    topK?: number

    Top K

    topP?: number

    Top P

    useContextWindow?: boolean

    If true, the component will use parent agent context window

    useReasoning?: boolean

    Use Reasoning

    useSystemPrompt?: boolean

    If true, the component will use parent agent system prompt

    useWebSearch?: boolean

    Use Search

    webSearchCity?: string

    Search City

    webSearchContextSize?: "high" | "medium" | "low"

    Search Content Size

    webSearchCountry?: string

    Search Country

    webSearchRegion?: string

    Search Region

    webSearchTimezone?: string

    Search Timezone