I mostly made this to learn the API, but sharing in case others find it useful
- Setup your OpenAI API account, give it $$$, and set your
OPENAI_API_KEY
env variable - Customize the
about-template.json
with parameters, and save asabout.json
- Create a "knowledge" folder, and load it up with valid files for the API
- Run
npm install
in this directory - Run
node create_assistant.js
- Check in your API account: you should have a very cool assistant. You'll also have an
ASSISTANT NAME.json
file locally, which gives you the ID etc for future use. โ๏ธ