Skip to content

hareeshr/chatgpt-clone

Repository files navigation

ChatGPT Clone

Table of Contents

Overview

This project is designed to be a clone of Chatagpt, a chatbot developed by OpenAI. The goal of the project is to create a clone of the Chatagpt chatbot that exhibits similar behaviors to the original version. The project will use natural language processing (NLP) techniques to develop an AI-based chatbot based on OpenAI API. The chatbot will be able to understand and respond to user input in a natural language. Thank you for checking out the Chatagpt Clone Project!

Demo Link

Built With

Features

  • Authentication using Google Account
  • Chat UI with access to history of previous chats
  • Delete a chat collection
  • Select a NLP model from OpenAI API
  • Use the selected model to generate responses to the given prompts from OpenAI API

Prerequisites

Deploy

Vercel Host your own live version of Chatbot UI with Vercel.

Deploy with Vercel

Run Locally

1. Clone Repo

2. Install Dependencies

npm i

3. Provide API Key Create a .env.local file in the root of the repo with your configuration and API Keys:

GOOGLE_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_SECRET=YOUR_GOOGLE_CLIENT_SECRET
NEXTAUTH_URL=YOUR_APP_URL
NEXTAUTH_SECRET=ANY_SECRET_KEY
OPENAI_API_KEY=YOUR_OPENAI_API_KEY
FIREBASE_SERVICE_KEY=YOUR_FIREBASE_PRIVATE_KEY_JSON

4. Run App

npm run dev

5. Happy chatting You can now login using your Google account and start a conversation with ChatGPT

Contact

If you have any questions, feel free to reach out to me on hareeshr.me

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published