This starter ChatGPT Plugin template allows you to use FastAPI on Vercel with Serverless Functions using the Python Runtime.
To use it, you only have to follow the steps on PluginLab. PluginLab will let you configure and manage your plugin OAS and manifest files.
The other advantage of using PluginLab is that you will be able to configure OAuth and Monetization for your ChatGPT plugin in 5 minutes.
npm i -g vercel
vercel dev
Your FastAPI api is now available at http://localhost:3000
.
docker build -t <image_name> .
docker run -p 3000:8000 <image_name>
Your FastAPI api is now available at http://localhost:3000
.
You can add authentication to this plugin in a few clicks by using PluginLab. Please check our documentation about authenticating users.
You can add monetization to this plugin in a few clicks by using PluginLab. Please check our documentation about monetizing your plugin.