Skip to content

mahendraDew/react-chatGPT-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React ChatGPT Clone Project

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.

Overview

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.

Features

  • 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.

Installation

To run this project locally, follow these steps:

  1. Clone this repository using git clone https://github.com/mahendraDew/react-chatGPT-clone.git.
  2. Navigate to the project directory: cd react-chatGPT-clone.
  3. Install dependencies using npm install or yarn install.
  4. Start the development server: npm start or yarn start.
  5. Open your browser and visit http://localhost:3000 to view the application.

Usage

  1. Upon loading, you'll see the chat interface.
  2. Type a message in the input field and press Enter or click the Send button.
  3. The bot will generate responses based on the input using the GPT-3.5 model.
  4. Conversations will be displayed in the chat window.

Dependencies

  • 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

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.

License

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.