Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cloudflare Workers example #8

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kristianfreeman
Copy link

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

Copy link

@aelnosu aelnosu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have not viewed cloudflare-workers-example/package-lock.json yet

@logankilpatrick
Copy link
Contributor

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

@G4brym
Copy link

G4brym commented Apr 14, 2023

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

@kristianfreeman
Copy link
Author

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

@kristianfreeman
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants