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

Convert /api/summarize to GET endpoint so that it can use cache to reduce unnecessary OpenAI endpoint call #3

Open
xcv58 opened this issue Feb 12, 2023 · 1 comment

Comments

@xcv58
Copy link

xcv58 commented Feb 12, 2023

I tested locally by converting it to a GET endpoint and use query params to set URL.

const response = await fetch("/api/summarize", {

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

No branches or pull requests

1 participant