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

Learn more
Back to Templates

Chat GPT Clone Starter

Built with

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

This example app demonstrates how to use the OpenAI ChatGPT API with Convex to implement a chat. Convex stores the messages and runs server-side functions to interact with OpenAI.

Features:

  • You can chat and get responses from the Chat GPT api.
  • You can start new threads to reset your conversation with Chat GPT.
  • You can specify what the chat identity is, and change it mid-thread.
  • You can make new identities.
  • Inputs are checked for offensive input using the moderation api.

This uses Convex actions to make requests to OpenAI's API.

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.