@squidcloud/client
    Preparing search index...

    Interface QueryAssistantOptions

    The options for configuring an AI assistant's behavior and response.

    interface QueryAssistantOptions {
        agentContext?: Record<string, unknown>;
        functionContexts?: Record<string, Record<string, unknown>>;
        instructions?: string;
        model?:
            | "o1"
            | "o1-mini"
            | "o3"
            | "o3-mini"
            | "o4-mini"
            | "gpt-4o"
            | "gpt-4o-mini";
        reasoningEffort?: OpenAiReasoningEffort;
        responseFormat?: AiAgentResponseFormat;
    }
    Index

    Properties

    agentContext?: Record<string, unknown>

    Additional context provided to all AI functions for processing.

    functionContexts?: Record<string, Record<string, unknown>>

    Specific context provided per AI function, keyed by function name.

    instructions?: string

    Custom instructions to guide the assistant's behavior, if provided.

    model?:
        | "o1"
        | "o1-mini"
        | "o3"
        | "o3-mini"
        | "o4-mini"
        | "gpt-4o"
        | "gpt-4o-mini"

    The OpenAI chat model to use for the assistant, if specified.

    reasoningEffort?: OpenAiReasoningEffort

    The level of reasoning effort to apply, as defined by OpenAI.

    responseFormat?: AiAgentResponseFormat

    The desired format of the AI model's response; defaults to 'text'.