UIInteractionProvider
UIInteractionProvider(
__namedParameters:UIInteractionProviderProps):FunctionComponentElement<ProviderProps<UIInteractionContextValue|null>>
Defined in: src/react/useUIInteraction.ts:84Â
Provider for managing UI interactions between LLM tools and user.
This provider manages pending interactions that are created when the LLM calls a UI interaction tool (like prompt_user_choice). The interactions are rendered inline in the chat, and when the user responds, the provider resolves the promise to send the result back to the LLM.
Parameters
| Parameter | Type |
|---|---|
|
|
Returns
FunctionComponentElement<ProviderProps<UIInteractionContextValue | null>>
Last updated on