Repository for assistant instruction & function definition version control. Comes with automation to update your assistant on OpenAI.
- Create a directory for your assistant.
- Create a a
config.yml
for your assistant config. If it already exists on OpenAI use its existingid
andname
. Otherwise, for a new assistant provide a name and keep theid
blank. It will be populated by a commit from the Github Actions workflow that creates the assistant. - Provide functions in
functions
directory with a.func.json
extension and aprompt-template.md
file for your assistant's instructions in/prompt-templates
directory. Functions use JSON Schema. OpenAI should support all JSON Schema types for the most part. - Set a repository secret @
https://github.com/your-profile-or-org/repo-name/settings/secrets/actions
forOPENAI_API_KEY
.