A simple chat application with an AI-powered bot.
This project was built using the following technologies:
- React
- TypeScript
- OpenAI API
- Express
https://chat-ai-pearl.vercel.app/
- Clone the repository:
git clone https://github.com/daregoodness1997/Chat-AI.git. - Navigate to the client directory.
- Install the dependencies:
npm install. - Create a .env file in the root directory of the project and add your base URL.
VITE_BASE_URL - Start the application:
npm run dev. - Navigate to the backend directory.
- Install the dependencies:
npm install. - Create a .env file in the root directory of the project and add your OpenAI key.
OPENAI_API_KEY - Start the server:
npm run dev.
- Open the application in your browser.
- Type a message in the text box and hit
Enteror click the "Send" button. - The bot will reply with an AI-generated message.
Contributions are welcome! Here's how to get started:
- Fork the repository.
- Create a new branch:
git checkout -b my-branch. - Make your changes and commit them:
git commit -m "my changes". - Push your changes to your fork:
git push origin my-branch. - Submit a pull request.
This project is licensed under the terms of the MIT license. See LICENSE for more information.