Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 724 Bytes

File metadata and controls

24 lines (14 loc) · 724 Bytes

AI SDK Python Streaming Preview

This template demonstrates the usage of Data Stream Protocol to stream chat completions from a Python endpoint (FastAPI) and display them using the useChat hook in your Next.js application.

Set up

uv venv --python 3.13

source .venv/bin/activate

uv sync --all-extras --dev

pnpm install

pnpm dev

Learn More

To learn more about the AI SDK or Next.js by Vercel, take a look at the following resources: