Skip to content

lukasmcardoso91/ChatGPTPluginGithubSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edge Application ChatGPT Plugin

Template Edge Application ChatGPT Plugin on Azion

Prerequisites

Before use template, ensure that you have the following prerequisites:

  1. Create an Azion account
  2. Azion Personal token
  3. Add Secrets Github
  4. Deploy on Azion
  5. Get URL and Install Plugin

Create an Azion account

To create an Azion account, just visit the sing-up page at Azion's homepage.

Azion Personal token

Create your Azion personal token by visiting the Personal Token creating page

Add Secrets Github

Accessing your secrets Add Secrets

Add the Personal Token to the secrets:

    AZION_PERSONAL_TOKEN=<value>

Deploy on Azion

For automatic deployment, create a pull request to the main branch.

Routes

  • {your-domain}/.well-known/ai-plugin.json Plugin config
  • {your-domain}/openapi.json OpenApi specification
  • {your-domain}/search Search repositories on Github

Get URL and Install Plugin

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!

About

Create by Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published