Options for uiDecisionResource in candidates mode, where app code supplies the components and the model only picks among them.
API
interface UiDecisionResourceCandidatesOptions extends UiDecisionResourceBaseOptions {candidates: ReadonlyArray < UiDecisionCandidate >;chat?: never;debounce?: number;input: Signal <
string | Decision.JsonValue | null | undefined
>;}candidates
ReadonlyArray<UiDecisionCandidate>The candidates the model chooses from.
chat
neverNot used in candidates mode.
debounce
numberHow long the input must stay unchanged, in milliseconds, before the selection is decided. Changing system asks again and resets the selection.
input
Signal<string | Decision.JsonValue | null | undefined>The input to decide about. null or undefined keeps the resource idle.