A tool for interacting with both aidevs.pl and OpenAI APIs + answers to the home assignments. Use at your own peril.
⚠️ It's far from finished. I publish it only because it might be useful for fellow students. PRs are welcome.
npm i
- Create
.env
from.env.template
- For each task create a
task-name.ts
- To run the task:
npm start path/to/task-file.ts
Refer to inpromt.ts
to see how to automate GPT calls.
Q: Why not use some existing Node.js package for GPT interaction?
A: I didn't think of it and writting my own Apisauce client is simple as fuck. Also, GPT itself helped me to write most of it.