From d14f002d4813b1a42cb0ea4903077892e8d75a67 Mon Sep 17 00:00:00 2001 From: Aperture32GLaDOS <66212752+Aperture32GLaDOS@users.noreply.github.com> Date: Sat, 14 Aug 2021 09:24:40 +0100 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 4b1ea75..b99de9a 100644 --- a/README.md +++ b/README.md @@ -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.