Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jun-low authored Oct 13, 2023
1 parent 3ecd023 commit d60f27e
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
# React + TypeScript + Vite
# Chat with GPT
![convex](assets/cover.png)

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
A chat application using the [OpenAI API](https://platform.openai.com/docs/api-reference) along with [Convex](https://www.convex.dev/). In this setup, Convex stores the messages and handles server-side functions for interacting with OpenAI.

This app started with a minimal setup to get React working in Vite with HMR and some ESLint rules and from the official ChatGPT Convex demo.

**Features:**

- Have a conversation with the Chat GPT API.
- Start new threads to create new conversation with Chat GPT.
- Specify what the chat identity is and change it mid-thread.
- Create new identities/AI agents.
- Moderate user inputs for offensive content by using the moderation API.



https://github.com/jun-low/chat-with-gpt/assets/50255944/9e9ad772-c5cf-4ed3-9059-5bfcfc43cb9f

https://github.com/jun-low/chat-with-gpt/assets/50255944/f419472b-d080-442e-a34a-712090e4cc18

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

Expand Down

0 comments on commit d60f27e

Please sign in to comment.