Member Junction
    Preparing search index...

    The answers to one decision request, as injected on the next turn.

    interface AgentDecisionResult {
        answers?:
            | Record<string, AgentDecisionAnswerSummary>
            | Record<string, AgentDecisionAnswerSummary>[];
        error?: string;
        id: string;
        skippedCount?: number;
        success: boolean;
    }
    Index

    Properties

    answers?:
        | Record<string, AgentDecisionAnswerSummary>
        | Record<string, AgentDecisionAnswerSummary>[]

    Per question: a Likelihood's probability, or a Choice/Score value with its confidence. One entry per item when forEachItemIn was used.

    error?: string

    Error message if the decision execution failed.

    id: string

    The ID of the decision request these answers correspond to.

    skippedCount?: number

    Number of items skipped if forEachItemIn exceeded decisionsMaxItems cap.

    success: boolean

    Whether the decision execution succeeded.