Skip to content

A chatbot trained to act like Amjad Masad, built with LangChain and Next.js.

Notifications You must be signed in to change notification settings

IroncladDev/Amjad-GPT

Repository files navigation

Amjad GPT - Revived

The deprecation of Legacy Hosting on Replit and the retirement of the OpenAI completion models have driven this project's nose into the ground.

I decided to revive it on Jan 10th, 2024.

Changes:

  • All previous data has been wiped, you will need to log in again
  • You now get a cap of 50 responses if you don't provide an API key
  • Tipping this Repl will not increase your response quota
  • Removed the outdated organization chart
  • Added the Jan 9th version of the Replit Docs
  • AmjadGPT now uses Replit Hosting
  • Updated a few facts like the current year, Amjad's social follower count, etc
  • AmjadGPT now uses gpt-3.5-turbo-instruct instead of davinci

A chatbot trained to act like Amjad Masad, built with LangChain and Next.js.

The OpenAI model being used is gpt-3.5-turbo-instruct, trained with:

All of this data was compiled into a .index file. Zahid Khawaja has an Awesome Tutorial on how to do this if you want to make your own.

Speaking of which, Thanks a lot Zahid, I couldn't have done this without you 🙏

Source Code

Quota & Limits

All users have a cap of 50 messages until an OpenAI API key is provided.

One response is one question asked followed by one answer from the chatbot. Your quota will not be measured in tokens or response length.

Self-Hosting Instructions

  1. Set up the following environment variables:
    • DEFALT_QUOTA_LIMIT - number (set to ten in this repl)
    • MONGO_URI - a MongoDB database URI
    • OPENAI_API_KEY - An OpenAI API key
  2. Run yarn dev or yarn build && yarn start
  3. Done!

Made with 🧠 & 🔥 by @IroncladDev

About

A chatbot trained to act like Amjad Masad, built with LangChain and Next.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published