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

Sending the captured text to the OpenAI API #1

Open
fahanibrahimhashi opened this issue Apr 6, 2024 · 0 comments
Open

Sending the captured text to the OpenAI API #1

fahanibrahimhashi opened this issue Apr 6, 2024 · 0 comments
Assignees

Comments

@fahanibrahimhashi
Copy link
Collaborator

Send API Requests: As a front-end developer, I want to write a JavaScript function that sends the captured text to the OpenAI API, using the https://api.openai.com/v1/chat/completions endpoint with the API key in the header, and to get a response, using fetch() and .then() (and probably not using async/await, unless you are confident using it).

fahanibrahimhashi added a commit that referenced this issue May 8, 2024
Adding a separate testing page with 4 tests
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

2 participants