This project is a clone of the Chat GPT application, created using React.js. It allows users to engage in text-based conversations with a GPT-3.5-powered AI model, just like the one you are interacting with right now. Whether you want to have a casual chat, seek information, or experiment with AI-powered text generation, this application provides an interactive platform for such interactions.
- Demo
- Features
- Getting Started
- Usage
- Contributing
- License
You can see a live demo of this application at Chat GPT Clone Demo.
- Chat with GPT-3.5: Engage in text-based conversations with a state-of-the-art AI language model, GPT-3.5.
- Real-time Responses: Receive instant responses from the AI model, making it feel like a real chat.
- Customizable Chat: Customize the appearance of the chat interface, including user and AI messages.
- User-Friendly Interface: The application features an intuitive and easy-to-use user interface.
- Responsive Design: It is designed to work seamlessly on various screen sizes and devices.
To get a copy of this project up and running on your local machine, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/riteshk-007/Chat-GPT-Clone.git
-
Change your current directory to the project folder:
cd Chat-GPT-Clone
-
Install the project dependencies:
npm install
-
Create a GPT-3 API key from the OpenAI platform.
-
Create a
.env
file in the project root directory and add your API key as follows:REACT_APP_OPENAI_API_KEY=your_api_key_here
-
Start the development server:
npm start
-
Open your web browser and visit
http://localhost:3000
to use the Chat GPT Clone application.
-
Once you have the application running, you can start chatting with the AI model by typing messages in the input field at the bottom of the chat interface.
-
Press "Enter" or click the "Send" button to send your message to the AI model.
-
The AI model will respond with its generated text, which will appear in the chat interface as AI messages.
-
You can continue the conversation by sending additional messages to the AI model.
-
Experiment with different prompts and questions to see how the AI model responds.
Contributions to this project are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository on GitHub.
- Create a new branch with a descriptive name for your feature or bug fix.
- Make your changes and commit them with clear, concise commit messages.
- Push your changes to your fork.
- Create a pull request against the main repository.
Please ensure your code follows best practices, and consider adding tests if applicable.
This project is licensed under the MIT License - see the LICENSE file for details.