Template Edge Application ChatGPT Plugin on Azion
Before use template, ensure that you have the following prerequisites:
- Azion account visit the sing-up page
- OpenAI Account visit the sing-up
- Consult the documentation for publishing your plugin
To create an Azion account, just visit the sing-up page at Azion's homepage.
Create your Azion personal token by visiting the Personal Token creating page
Accessing your secrets Add Secrets
Add the Personal Token to the secrets
:
AZION_PERSONAL_TOKEN=<value>
For automatic deployment, create a pull request to the main branch.
{your-domain}/.well-known/ai-plugin.json
Plugin config{your-domain}/openapi.json
OpenApi specification{your-domain}/search
Search repositories on Github
Retrieve your domain url created in Azion and insert it in your plugin installation
Folder config
After deploy access azion/azion.json
This file will be automatically created on your first deploy (pull request to main branch)
Ex:
{
"application": {
...
},
"domain": {
...
"url": "123.map.azionedge.net" // your URL to insert plugin manifest Important (https://)
},
"function": {
...
"file": "worker/function.js"
}
}
On Actions
Ex:
✅ edge-computing-actions
Run jcbsfilho/[email protected]
⚡️ info Create config file
⚡️ info Starting Create New Application!
⚡️ info Edge Application created!
⚡️ info Edge Function created!
⚡️ info Edge Domain created!
⚡️ info Commit configuration 'azion/azion.json'!
⚡️ info Domain url: https://123445.map.azionedge.net
✔ success Done!