Skip to Content

Use Chat Stream

Chat streaming React hook: a client hook that posts a transcript to a chat endpoint and streams the reply over server-sent events. Accepts OpenAI or Anthropic shaped chunks; exposes send, stop, reset and load.

Installation

pnpm dlx shadcn@latest add @01orbital/use-chat-stream

Used in blocks

5 blocks are built with Use Chat Stream:

Last updated on