Skip to content

FranBejarano/chatgpt-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Clone

This project is an AI chat application that leverages the power of Generative AI using OpenAI's GPT-3.5 model. The application allows users to have interactive conversations with the AI model, generating responses based on user inputs.

Technologies Used

  • React.js
  • Node.js
  • JavaScript
  • OpenAI API

Installation

To run this application locally, follow these steps:

  1. Clone the repository to your local machine.

  2. Navigate to the project directory.

  3. Install the dependencies by running the following command:

    npm install
  4. Create a .env file in the root directory of the project.

  5. Obtain an API key from the OpenAI website by following these steps:

    • Visit the OpenAI website at https://openai.com/.

    • Sign in to your account or create a new one if needed.

    • Navigate to the API section and generate an API key for GPT-3.5.

    • Copy the API key and paste it into the .env file using the following format:

      API_KEY=YOUR_API_KEY
      
  6. Save the .env file.

  7. Start the development server by running the following command:

    npm run start:frontend
  8. Start the development server by running the following command:

    npm run start:backend
  9. Open your browser and navigate to http://localhost:3000 to access the application.

Usage

  • Upon running the application, you will be presented with an AI chat interface.
  • Enter your messages in the input field and press Enter or click the Send button to send them.
  • The AI model will generate responses based on your inputs, providing an interactive conversational experience.

License

This project is licensed under the MIT License.

Feel free to explore, modify, and use this project according to the terms of the license.


Please note that the above instructions assume you have Node.js and npm (Node Package Manager) installed on your machine. If not, make sure to install them before proceeding with the installation steps.

Remember to customize the README.md file according to your specific project details, such as adding project descriptions, usage instructions, and relevant information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published