Options for the UI completion resource.
API
interface UiCompletionResourceOptions<Input, Tools extends Chat.AnyTool = Chat.AnyTool> {apiUrl?: ReactiveOption<string>;components: UiKitInput <
ExposedComponent <
any >> [];debounce?: number;debugName?: string;examples?: SystemPrompt;input: Signal <Input | null | undefined>;model: ReactiveOption < ModelInput >;retries?: number;structuredOutput?: Chat.Api.StructuredOutputOptions;system: ReactiveOption <
string | SystemPrompt
>;threadId?: ReactiveOption<string | undefined>;tools?: Tools[];transport?: TransportOrFactory;}@typeInput@typeToolsChat.AnyToolReactiveOption<string>The API URL to use for the UI completion resource.
UiKitInput<ExposedComponent<any>>[]The components to use for the UI completion resource.
numberThe debounce time for the UI completion resource.
stringThe debug name for the UI completion resource.
SystemPromptOptional prompt-based UI examples to include in the wrapper schema description.
Signal<Input | null | undefined>The signal that produces the input for the completion.
ReactiveOption<ModelInput>The model to use for the UI completion resource.
numberThe number of retries for the UI completion resource.
Chat.Api.StructuredOutputOptionsControls how the provider is asked to produce structured output.
ReactiveOption<string | SystemPrompt>The system prompt to use for the UI completion resource.
ReactiveOption<string | undefined>Optional thread identifier used to load or continue an existing conversation.
Tools[]The tools to use for the UI completion resource.
TransportOrFactoryCustom transport override for the UI completion resource.