AI Tools · Function
streamUI
streamUI calls a language model and streams React components to the client. It can render plain text or UI returned by model-selected tools.
Last updated
Syntax
streamUI({ model, prompt, messages, system, initial, text, tools })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
streamTextstreamObjectcreateStreamableUIcreateStreamableValueuseChat