hashbrown

DecisionResourceOptions

Options for {@link decisionResource}.

DecisionResourceOptions
@typeS
DecidableSchema
debounce
number

Milliseconds to wait after an input change before sending.

input
Signal<string | Decision.JsonValue | null | undefined>

The input to decide about. null or undefined keeps the resource idle.

optionOrder
'declared' | 'shuffled'

Order of options in questions; shuffled varies per request.

retries
number

Number of retries for retryable transport errors.

schema
S

The decidable schema whose questions the model answers.

system

Optional system text sent along with the input.

transport
Decision.Transport

Overrides the provider's decision transport for this resource.