/ChatGPT-Clone

🤖 ChatGPT Clone is my attempt at developing an ML-AI chatbot based on OpenAI's ChatGPT model which interacts in a conversational way.

Primary LanguageJavaScript

ChatGPT Clone

🚀 Live Demo - Edit (30/3/2023) : Although the website is up and running, my app has exhausted the OpenAI API free trial credits and thus will return error.

ChatGPT Clone is my attempt at developing an ML-AI chatbot based on OpenAI's ChatGPT model which interacts in a conversational way.

License: MIT Website shields.io

Tech Stack

Front-end: Vite HTML5 CSS3 JavaScript

Back-end: NodeJS Express.js

Hosting: Vercel Render

Dependencies: npm: ^9.3.1; vite: ^4.0.0; openai: ^3.1.0; cors: ^2.8.5; dotenv: ^16.0.3; express: ^4.18.2; nodemon: ^2.0.20

Methods

  • I have made use of the text-davinci-003 model, which is the most capable GPT-3 model. It can do any task the other models can do, often with higher quality, longer output and better instruction-following. Also supports inserting completions within text.
  • Tested and deployed the chat-bot with a lower sampling-temperature value so that it takes lesser risks and gives well-defined answers.

Photo credits: OpenAI Blog

Contributions

This project is open to contributions, so if you want to submit any bug reports, suggestions, improvements then please open an issue and I'll get back to you. Thank you!

Acknowledgment

Huge thanks to Adrian Hajdin - JS Mastery for coming up with the idea and implementation. Make sure to check out his channel 🤝

License

This project is licensed under the MIT License.