Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Aperture32GLaDOS authored Aug 14, 2021
1 parent fda968c commit d14f002
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# GPT-Jumbo-Chatbot
Since ai21 recently made their GPT-Jumbo model public, I thought I would make a basic chatbot program for it.

Usage:

You'll need an ai21 API key; they give them out for free to anyone who has an account. This isn't like openAI's API, which is more locked-down than me in the year 2020. Take care when using the script, though, as they limit you to 10,000 tokens per day. (still better than openAI though)

Once you have your API key, replace {YOUR-API-KEY} in config.json with said key. Feel free to modify some of the other parameters if the responses are a bit too predictable (or too random)

Then, just run the script main.py with python main.py and answer all of the questions. The 'context' can be thought of as a description of the agent e.g. "Dave is a builder who likes to eat pizza"

Feel free to use in your own projects with or without credit (preferrably with); I just made this for fun.

0 comments on commit d14f002

Please sign in to comment.