-
Notifications
You must be signed in to change notification settings - Fork 18
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
Request failed with status code 400 #6
Comments
same here |
same |
Hey @maorbar, @heikog, and @SavvyEngineer - thanks for posting the issue. The reason is because OpenAI deprecated the answers endpoint which is used in this project. I'm planning to update this example with another aproach but have not had a chance to work on it yet. I'll ping you when the updates are done but in the meantime here is a link to the new aproach OpenAI is recomending. Thanks again. |
+1 @tingiris ? in terms of changes to the code. Is it something along these lines using openai package? ` const documents = ([ |
Followed the steps in the youtube video. When running the code in replit, I get this error:
Sorry, there was an API error. The error was 'Request failed with status code 400'
Any ideas on how to fix it?
The text was updated successfully, but these errors were encountered: