Member Junction
    Preparing search index...

    Interface AgentDecisionAskParams

    Parameters for the AgentDecisionService.Ask method.

    interface AgentDecisionAskParams {
        AgentID?: string;
        CancellationToken?: AbortSignal;
        ContextUser: UserInfo;
        ExecutionScope?: AIPromptExecutionScope;
        PromptName?: string;
        Questions: Record<string, DecisionQuestion>;
        State: string | Record<string, unknown>;
    }
    Index

    Properties

    AgentID?: string

    Optional agent ID initiating the decision.

    CancellationToken?: AbortSignal

    Optional cancellation token to abort execution.

    ContextUser: UserInfo

    Context user executing the decision.

    ExecutionScope?: AIPromptExecutionScope

    The asking run's execution scope — its configuration, runtime API keys and credential scope. Without it a decision resolves no run key and, under the default scope, answers on the platform's keys inside a customer's run; under 'RuntimeOnly' that is exactly what must not happen. ContextUser still names the user.

    PromptName?: string

    Optional prompt name to resolve from AIEngine. Defaults to 'Default Decision'.

    Questions: Record<string, DecisionQuestion>

    Named questions to evaluate.

    State: string | Record<string, unknown>

    The state the questions are asked about.