All 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

Start now

Get your project up and running in minutesGet started
©2024 Convex, Inc.