We launched Convex Components to make adding features to your app easier! 🎉

Learn more
Back to Templates

Streaming ChatGPT Chat Starter

Built with

npm create convex -- -t ianmacartney/streaming-chat-gpt

An example of streaming ChatGPT via the OpenAI v4.0 node SDK. See this Stack post for more information.

This app makes up a name for your user using Faker.js and allows you to chat with other users: open up multiple tabs to try it out!

If your message includes "@gpt" it will kick off a request to OpenAI's chat completion API and stream the response, updating the message as data comes back from OpenAI.

Template hero image
Get your app up and running in minutes
Get started
Convex logo
A Trusted Solution
  • SOC 2 Type 1 Compliant
  • HIPAA Compliant
  • GDPR Verified
©2024 Convex, Inc.