This project is a simple clone of a chat application powered by OpenAI's GPT-3.5. It allows users to interact with an AI-powered chatbot.
The ChatGPT Clone Project is built using React to create a user-friendly chat interface. It utilizes the OpenAI GPT-3.5 model to generate responses based on user input.
- User Input: Users can type messages into the chat interface.
- AI Responses: Utilizes GPT-3.5 to generate AI responses based on user input.
- Chat Interface: Displays conversation history and bot responses in a conversational format.
- Real-time Interaction: Users can engage in a near-real-time conversation with the AI bot.
To run this project locally, follow these steps:
- Clone this repository using
git clone https://github.com/mahendraDew/react-chatGPT-clone.git
. - Navigate to the project directory:
cd react-chatGPT-clone
. - Install dependencies using
npm install
oryarn install
. - Start the development server:
npm start
oryarn start
. - Open your browser and visit
http://localhost:3000
to view the application.
- Upon loading, you'll see the chat interface.
- Type a message in the input field and press Enter or click the Send button.
- The bot will generate responses based on the input using the GPT-3.5 model.
- Conversations will be displayed in the chat window.
react
: JavaScript library for building user interfaces.fetch
: For making HTTP requests to the server (e.g., OpenAI's GPT-3.5 API).- Other dependencies may be required based on specific components or additional functionalities.
Contributions are welcome! If you'd like to contribute to this project, feel free to fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.
Note: This project is for demonstration purposes only and utilizes OpenAI's GPT-3.5 model. Ensure compliance with OpenAI's usage policies and guidelines when using their APIs.