plugins-quickstart icon indicating copy to clipboard operation
plugins-quickstart copied to clipboard

Add Cloudflare Workers example

Open kristianfreeman opened this issue 3 years ago • 4 comments

This PR adds an example of building a ChatGPT plugin using Cloudflare Workers. The example, which allows ChatGPT to search GitHub for repositories, has been deployed and tested (and we're kinda blown away by it - it works so well! 🤯 )

@logankilpatrick - open to feedback on how you'd like this structured. Would be happy to hop on a call and show you how to deploy it yourself, it really takes less than 5 minutes :)

cc @rickyrobinett for visibility

kristianfreeman avatar Apr 13 '23 21:04 kristianfreeman

I will work through the README and ping you all if I run into issues!

logankilpatrick avatar Apr 13 '23 23:04 logankilpatrick

I think that publishing an example that requires developers that want to reference this, to build the OpenAPI spec by hand is not a good DX, and makes it really hard to build anything with this in mind.

Please reconsider refactoring this template to use this library that generates the OpenAPI spec automatically from the endpoints code @cloudflare/itty-router-openapi

G4brym avatar Apr 14 '23 09:04 G4brym

@G4brym updated this branch with his suggested changes above, great addition 👍

kristianfreeman avatar Apr 14 '23 16:04 kristianfreeman

@logankilpatrick Let me know if I can help out this week on this!

kristianfreeman avatar Apr 17 '23 18:04 kristianfreeman