Components / AI components / Conversation
ConversationExperimental alpha

StreamingResponse

Keep partial answers visible and honest.

StreamingResponse preview

Preparing a response…

Receiving response

Interactions use local sample data.

Usage and props

The base entry renders plain text. Opt into the Markdown subpath for bounded GFM and incomplete-stream formatting. The host owns message state and link trust.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

text · state · error? · renderContent?; optional MarkdownResponse from /markdown
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard