SmythOS SDK
    Preparing search index...

    Interface TGenAILLMSettings

    interface TGenAILLMSettings {
        allowedWebsites?: string;
        excludedWebsites?: string;
        excludedXHandles?: string;
        frequencyPenalty?: number;
        fromDate?: string;
        includedXHandles?: string;
        link?: string;
        maxContextWindowLength?: number;
        maxSearchResults?: number;
        maxThinkingTokens?: number;
        maxTokens?: number;
        model: string;
        name?: string;
        passthrough?: boolean;
        postFavoriteCount?: number;
        postViewCount?: number;
        presencePenalty?: number;
        prompt: string;
        responseFormat?: "json" | "text";
        returnCitations?: boolean;
        rssLinks?: string;
        safeSearch?: boolean;
        searchCountry?: string;
        searchDataSources?: "web" | "x" | "news" | "rss";
        searchMode?: "auto" | "on" | "off";
        stopSequences?: string;
        temperature?: number;
        toDate?: string;
        topK?: number;
        topP?: number;
        useContextWindow?: boolean;
        useReasoning?: boolean;
        useSearch?: boolean;
        useSystemPrompt?: boolean;
        useWebSearch?: boolean;
        webSearchCity?: string;
        webSearchContextSize?: "high" | "medium" | "low";
        webSearchCountry?: string;
        webSearchRegion?: string;
        webSearchTimezone?: string;
    }
    Index

    Properties

    allowedWebsites?: string

    Allowed Websites

    excludedWebsites?: string

    Excluded Websites

    excludedXHandles?: string

    Excluded X Handles

    frequencyPenalty?: number

    Frequency Penalty

    fromDate?: string

    From Date

    includedXHandles?: string

    Included X Handles

    link?: string

    RSS Link

    maxContextWindowLength?: number

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

    maxSearchResults?: number

    Max Search Results

    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

    postFavoriteCount?: number

    Post Favorite Count

    postViewCount?: number

    Post View Count

    presencePenalty?: number

    Presence Penalty

    prompt: string

    Prompt

    responseFormat?: "json" | "text"

    Response Format

    returnCitations?: boolean

    If true, include citations and sources in the response

    rssLinks?: string

    RSS Link

    safeSearch?: boolean

    If true, enable safe search filtering

    searchCountry?: string

    Search Country

    searchDataSources?: "web" | "x" | "news" | "rss"

    Search Data Sources

    searchMode?: "auto" | "on" | "off"

    Search Mode

    stopSequences?: string

    Stop Sequences

    temperature?: number

    Temperature

    toDate?: string

    To Date

    topK?: number

    Top K

    topP?: number

    Top P

    useContextWindow?: boolean

    If true, the component will use parent agent context window

    useReasoning?: boolean

    Use Reasoning

    useSearch?: boolean

    If true, the component will use xAI live search capabilities

    useSystemPrompt?: boolean

    If true, the component will use parent agent system prompt

    useWebSearch?: boolean

    If true, the component will use web search for additional context

    webSearchCity?: string

    Web Search City

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

    Web Search Context Size

    webSearchCountry?: string

    Web Search Country

    webSearchRegion?: string

    Web Search Region

    webSearchTimezone?: string

    Web Search Timezone