Member Junction
    Preparing search index...

    A Decision Eval test's three JSON columns, validated.

    interface ParsedDecisionEvalTest {
        Config: {
            decision: "conversation-routing";
            failover?: boolean | null;
            modelId?: string | null;
            oracles: {
                config?: Record<string, unknown>;
                type: string;
                weight?: number;
            }[];
            promptName?: string
            | null;
            seed?: number | null;
            stateLayout: "production" | "structured";
            temperature?: number | null;
            vendorId?: string | null;
        };
        Expected: {
            label: "continue"
            | "switch"
            | "ambiguous";
            labelSource: string;
        };
        Input: {
            point: {
                artifacts: {
                    artifactId: string;
                    artifactName: string;
                    artifactType: string;
                    versions: {
                        versionId: string;
                        versionName: string
                        | null;
                        versionNumber: number;
                    }[];
                }[];
                conversation_id: string;
                created_at: string;
                history: {
                    agent_id: string
                    | null;
                    agent_name: string | null;
                    created_at: string;
                    id: string;
                    message: string;
                    role: "User" | "AI";
                    status: string;
                }[];
                id: string;
                latest_message: string;
                previous_agent: { description: string; id: string; name: string };
                source: string;
            };
        };
    }
    Index

    Properties

    Properties

    Config: {
        decision: "conversation-routing";
        failover?: boolean | null;
        modelId?: string | null;
        oracles: {
            config?: Record<string, unknown>;
            type: string;
            weight?: number;
        }[];
        promptName?: string
        | null;
        seed?: number | null;
        stateLayout: "production" | "structured";
        temperature?: number | null;
        vendorId?: string | null;
    }

    Type Declaration

    • decision: "conversation-routing"

      Which decision builder. A discovery test has its own schema (DiscoveryEvalConfigSchema).

    • Optionalfailover?: boolean | null

      Whether the runner may fail over. Defaults to false when the cell pins a model or vendor.

    • OptionalmodelId?: string | null

      Pins the MJ: AI Models row that must answer.

    • oracles: { config?: Record<string, unknown>; type: string; weight?: number }[]

      The oracles to run.

    • OptionalpromptName?: string | null

      The decision prompt. Defaults to DEFAULT_DECISION_PROMPT_NAME.

    • Optionalseed?: number | null

      Requested sampling seed. Recorded; see the driver for whether it reaches the model.

    • stateLayout: "production" | "structured"

      production sends BuildRoutingState; structured sends BuildRoutingStateStructured.

    • Optionaltemperature?: number | null

      Requested sampling temperature. Recorded; see the driver for whether it reaches the model.

    • OptionalvendorId?: string | null

      Pins the vendor.

    Expected: { label: "continue" | "switch" | "ambiguous"; labelSource: string }
    Input: {
        point: {
            artifacts: {
                artifactId: string;
                artifactName: string;
                artifactType: string;
                versions: {
                    versionId: string;
                    versionName: string | null;
                    versionNumber: number;
                }[];
            }[];
            conversation_id: string;
            created_at: string;
            history: {
                agent_id: string
                | null;
                agent_name: string | null;
                created_at: string;
                id: string;
                message: string;
                role: "User" | "AI";
                status: string;
            }[];
            id: string;
            latest_message: string;
            previous_agent: { description: string; id: string; name: string };
            source: string;
        };
    }