Options for {@link decisionResource}.
API
interface DecisionResourceOptions<S extends DecidableSchema> {debounce?: number;input: Signal <
string | Decision.JsonValue | null | undefined
>;optionOrder?: 'declared' | 'shuffled';retries?: number;schema: S;system?: ReactiveOption<string>;transport?: Decision.Transport;}DecisionResourceOptions
@typeSDecidableSchemadebounce
numberMilliseconds 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
numberNumber of retries for retryable transport errors.
schema
SThe decidable schema whose questions the model answers.
system
ReactiveOption<string>Optional system text sent along with the input.
transport
Decision.TransportOverrides the provider's decision transport for this resource.