- Deno
- A valid OpenAI Bearer key
- Some programming knowledge
- A decent operating system, like Linux or MacOS.
Install Deno. It's a javascript runtime I like because it has good process and permissions isolation.
Then install this repository:
git clone <url>
Input your OpenAI secret bearer into the .env file:
cd gpt-utils
mv .env.example .env
vim .env ## exit with :wq
Then have a look at reword-markdown-text/reword-md.sh
and oracle/deploy-oracle.sh
. Edit them so that they have all the information they need, namely:
- The absolute location of your .env file
- The absolute location of the path that they are in.
Note: Currently, the first markdown line is assumed to contain the title, and is ignored
For rewording a file:
cd reword-markdown-text
reword-md.sh your_md_file.md
For getting a prediction:
cd oracle
deploy-oracle.sh
etc.
You may also want to read the files in the utility you are using.
- Consolidate all API calls and then import that, so that the only thing that changes is the prompt.