hashbrown

UiDecisionResourceCandidatesOptions

Options for uiDecisionResource in candidates mode, where app code supplies the components and the model only picks among them.

candidates
ReadonlyArray<UiDecisionCandidate>

The candidates the model chooses from.

chat
never

Not used in candidates mode.

debounce
number

How 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.