Skip to content

Conversation

@hiibolt
Copy link
Contributor

@hiibolt hiibolt commented Jun 6, 2024

This targets the changes mentioned in #229, because OpenAI requires a non-null name when creating a vector store. This also fixes attaching a file to a vector store, where it would fail to deserialize. Also adds a test for both errors to catch them during development in the future!

Fixes #229

…Strategy

This targets the changes mentioned in #229, because OpenAI requires a non-null name when creating a vector store. This also fixes attaching a file to a vector store, where it would fail to deserialize. Also adds a test for both errors to catch them during development in the future!

#229
Reverted according to recent comments on #229, reasoning can be found on thread.
Related details can be found in PR #230
Copy link
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR and bug fixes!

@64bit 64bit merged commit cca439c into 64bit:main Jun 7, 2024
harsh-98 pushed a commit to harsh-98/async-openai that referenced this pull request Sep 3, 2025
…Strategy (64bit#230)

* fix: Update vector store file chunking strategy to use StaticChunkingStrategy

This targets the changes mentioned in 64bit#229, because OpenAI requires a non-null name when creating a vector store. This also fixes attaching a file to a vector store, where it would fail to deserialize. Also adds a test for both errors to catch them during development in the future!

64bit#229

* bugfix: Made optional name field consistent to OpenAI spec

Reverted according to recent comments on 64bit#229, reasoning can be found on thread.

* chore: Modified redudant code in test

Related details can be found in PR 64bit#230

* test: Update tests to double check for a failure in add file to vector store

Related PR: 64bit#230

Co-authored-by: Himanshu Neema <[email protected]>

---------

Co-authored-by: Himanshu Neema <[email protected]>
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

Successfully merging this pull request may close these issues.

Failing to deserialize VectorStoreFileObject

2 participants