-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fda968c
commit d14f002
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |