A component option for uiDecisionResource in candidates mode.
API
interface UiDecisionCandidate {component: Type <unknown>;description: string;id: string;inputs?: Record<string, unknown> | Signal<Record<string, unknown>>;}component
Type<unknown>The component rendered when the candidate is chosen.
description
stringTells the model when this candidate fits the input.
id
stringA unique id for the candidate. Must not be empty or contain ..
inputs
Record<string, unknown> | Signal<Record<string, unknown>>Inputs bound to the component when it is rendered. Pass a signal to keep the rendered component in step with app state; changing it re-renders the chosen candidate without a new decision. The id and description stay static.