A conversational AI app inspired by OpenAI's GPT-3 language model, built with Vite.
- Natural language processing and understanding
- Context-aware responses
- Ability to converse on a variety of topics
- React-based for easy user interaction
- npm or yarn
- Create Open AI account
- Clone the repository
git clone https://github.com/huykon/openai-chat.git
- Install client dependencies
cd openai-chat
yarn
-
Get your Open AI API key from Open AI API Key
-
Environment Variable Setup
- Replace .env.example file to .env file & add your open AI key to variable VITE_OPENAI_API_KEY
VITE_OPENAI_API_KEY = [Your Open AI key here]
- Start the client
yarn dev
- Check if your application run on port 5173 with the development environment configuration, so in your browser just go to http://localhost:5173
All contributions are welcome. Feel free to open an issue or create a pull request. And I will be more than happy for sponsors.
This project is licensed under the Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.
This means that you can use, copy, and modify the code as long as you give credit to the original author (attribution), don't use it for commercial purposes (non-commercial), and distribute any modifications under the same license (share alike).
Please note that this license applies to the code in this repository only, and does not apply to the OpenAI API, which is subject to its own license agreement.