Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 1.26 KB

README.md

File metadata and controls

39 lines (21 loc) · 1.26 KB

ChatGPT Clone

This project is a clone of ChatGPT, an AI-powered chatbot using the OpenAI GPT-3.5 language model.

Overview

The ChatGPT Clone allows users to have interactive conversations with the AI model. Users can input messages, and the model generates responses based on the input. The project demonstrates how to integrate the OpenAI API with a web interface.

Prerequisites

  • OpenAI API key: Obtain an API key from OpenAI. You can sign up for access and get your API key from the OpenAI website.

Setup

  1. Clone the repository:

    git clone <(https://github.com/googly1030/Chatgpt-Clone)>

2.Set up the project:

Copy the API key received from OpenAI and replace with your actual API key in the JavaScript file (app.js):

3.Usage

Open the index.html file in a web browser.

Enter your message in the input field and click the "Send" button.

The AI model will generate a response based on your input, and it will be displayed in the output area.

The conversation history will be shown in the sidebar.

License

This project is licensed under the MIT License.

Acknowledgements

Feel free to customize the README file to provide additional information, instructions, or any other details relevant to your project.