You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Update vector store file chunking strategy to use StaticChunkingStrategy (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 <himanshun.iitkgp@gmail.com>
---------
Co-authored-by: Himanshu Neema <himanshun.iitkgp@gmail.com>
/// This is returned when the chunking strategy is unknown. Typically, this is because the file was indexed before the `chunking_strategy` concept was introduced in the API.
0 commit comments