Member Junction
    Preparing search index...

    Function DecisionPromptOptionCap

    • The decision model's option cap: the smallest Decision.MaxChoiceOptions in the effective model configuration of the models the decision prompt is bound to, the setting AIDecisionRunner checks before its call. undefined when none declares one, or the prompt is not found.

      Parameters

      • engine: Pick<
            AIEngine,
            | "Prompts"
            | "PromptModels"
            | "ModelVendors"
            | "GetEffectiveModelConfiguration",
        >

        The loaded engine: AIEngine.Instance.

      • promptName: string

        The decision prompt's name, matched whole in any case.

      Returns number