Coder Social home page Coder Social logo

chat-gpt-clone's Introduction

Chat GPT Clone

image

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.

Table of Contents

Demo

image

You can see a live demo of this application at Chat GPT Clone Demo.

Features

image

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

Getting Started

To get a copy of this project up and running on your local machine, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/riteshk-007/Chat-GPT-Clone.git
  2. Change your current directory to the project folder:

    cd Chat-GPT-Clone
  3. Install the project dependencies:

    npm install
  4. Create a GPT-3 API key from the OpenAI platform.

  5. 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
    
  6. Start the development server:

    npm start
  7. Open your web browser and visit http://localhost:3000 to use the Chat GPT Clone application.

image

Usage

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

  2. Press "Enter" or click the "Send" button to send your message to the AI model.

  3. The AI model will respond with its generated text, which will appear in the chat interface as AI messages.

  4. You can continue the conversation by sending additional messages to the AI model.

  5. Experiment with different prompts and questions to see how the AI model responds.

Contributing

Contributions to this project are welcome! If you'd like to contribute, please follow these steps:

  1. Fork the repository on GitHub.
  2. Create a new branch with a descriptive name for your feature or bug fix.
  3. Make your changes and commit them with clear, concise commit messages.
  4. Push your changes to your fork.
  5. Create a pull request against the main repository.

Please ensure your code follows best practices, and consider adding tests if applicable.

License

This project is licensed under the MIT License - see the LICENSE file for details.

chat-gpt-clone's People

Contributors

riteshk-007 avatar

Stargazers

Muhammadreza Haghiri avatar Peter Lankton avatar Georgi Markov avatar Dinesh Verma avatar sonan0721 avatar  avatar  avatar Conture Media avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.