openai / plugins-quickstart

Get a ChatGPT plugin up and running in under 5 minutes!

Home Page:https://platform.openai.com/docs/plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastAPI vs quart

transitive-bullshit opened this issue · comments

I'm wondering what your thoughts are on the tradeoffs between quart and fastapi.

In my understanding, the hardest part of plugin development by far is maintaining the accompanying OpenAPI spec, which is what FastAPI excels at.

It looks like Quart has some support for OpenAPI via quart-openapi, but it's not maintained, and it doesn't have nearly the same developer community as FastAPI.

Def not saying you should be using one or the other; I'd just like to understand the tradeoffs from OpenAI's perspective since I think setting a high quality precedent for how people will start building ChatGPT Pluginsn early is really important.

Thanks! 🙏

commented

FastAPI is easier to work with since you can use Swagger to confirm everything works, and the spec gets created automatically. Now if they just fixed localhost plugins, I would be happy.

From creator of Quart, QuartSchema is the way to generate OpenAPI spec.

https://pgjones.dev/blog/fastapi-flask-quart-2022/