ynnadkrap / balldontlie

NBA API
http://www.balldontlie.io
225 stars 19 forks source link

Add ai-plugin.json plugin file to create ChatGPT Plugin #120

Open aaronpurewal opened 1 year ago

aaronpurewal commented 1 year ago

All other files necessary for getting ChatGPT plugin are already developed and published. Need manifest file hosted on website for ChatGPT to interact with Balldontlie data

aaronpurewal commented 1 year ago

Every plugin requires a ai-plugin.json file, which needs to be hosted on the API’s domain. For example, a company called example.com would make the plugin JSON file accessible via an https://example.com domain since that is where their API is hosted. When you install the plugin via the ChatGPT UI, on the backend we look for a file located at /.well-known/ai-plugin.json. The /.well-known folder is required and must exist on your domain in order for ChatGPT to connect with your plugin. If there is no file found, the plugin cannot be installed. For local development, you can use HTTP but if you are pointing to a remote server, HTTPS is required.

Ensure all rules are followed here, ensure folder name is exact /.well-known, may be a typo