Options shared by both modes of uiDecisionResource.
API
interface UiDecisionResourceBaseOptions {minConfidence?: number;optionOrder?: 'declared' | 'shuffled';select: Decision.Select; system?: ReactiveOption<string>;transport?: Decision.Transport;}minConfidence
numberThe minimum confidence (for 'one') or best probability (for { max }) needed to act on the decision. Defaults to 0.
optionOrder
'declared' | 'shuffled''shuffled' varies the order of the options on every request, to spread the model's bias toward the first option. Defaults to 'declared'.
select
Decision.SelectWhether to choose one option, or up to max options.
system
ReactiveOption<string>Context for the decision model (what your app is, what the input means). Sent with the input, and only to the decision: in chat mode the chat keeps its own system prompt.
transport
Decision.TransportOverrides the provider's decision transport for the selection. Decision only: in chat mode the chat keeps its own transport.