Batch API - files.content
not returning a .jsonl
file format like documentation says
#898
Open
1 task done
Labels
bug
Something isn't working
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
The files.content method doesn't return a file content (like the documentation says)[https://platform.openai.com/docs/guides/batch/5-retrieving-the-results], it returns an API response that we should treat as an streaming response to be able to retrieve the data.
To Reproduce
.jsonl
file but an API response.Code snippets
No response
OS
macOS
Node version
Node v20.9.0
Library version
"openai": "^4.50.0",
The text was updated successfully, but these errors were encountered: