We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using nodejs sdk
"openai": "^4.97.0"
Got :
{ result: { id: 'file-KD9fKNTgyPNSXmNgWpdpUn', object: 'vector_store.file', usage_bytes: 0, created_at: 1746646146, vector_store_id: 'vs_681bb47f51ec819188b63fff74653f81', status: 'failed', last_error: { code: 'invalid_file', message: 'The file could not be parsed.' }, chunking_strategy: { type: 'static', static: [Object] }, attributes: {} } }
This works fine with text based files and assistant
const fileContent = fs.createReadStream('Quick-Start.pdf'); const vectorStore = await openai.vectorStores.create({ name: "API docs", }); const result = await openai.vectorStores.files.uploadAndPoll(vectorStore.id, fileContent); console.log({ result });
macos
nextjs 14
4.97.0
The text was updated successfully, but these errors were encountered:
I’m experiencing the same issue. It would be helpful to get an official confirmation on whether this is a bug or a recent change in the API behavior.
Sorry, something went wrong.
No branches or pull requests
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
I am using nodejs sdk
"openai": "^4.97.0"
Got :
This works fine with text based files and assistant
To Reproduce
Code snippets
OS
macos
Node version
nextjs 14
Library version
4.97.0
The text was updated successfully, but these errors were encountered: