Giter Club home page Giter Club logo

amjad-gpt's Introduction

Amjad GPT

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

This is only the frontend part of this project; The OpenAI model with Langchain is hosted in another Repl.

The OpenAI model being used is text-davinci-003, 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

By default, all users get a total of 10 responses. After you've used up the ten responses, you must add your own OpenAI API key (Open the settings tab) or tip this Repl to increase your quota.

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

  • 100 Cycles tip ๐Ÿฌ - Quota increased by 20 responses
  • 500 Cycles tip ๐Ÿ• - Quota increased by 100 responses
  • 1000 Cycles tip ๐ŸŒฏ - Quota increased by 200 responses

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

amjad-gpt's People

Contributors

ironcladdev avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.