64bit / async-openai

Rust library for OpenAI
https://docs.rs/async-openai
MIT License
1.09k stars 161 forks source link

fix: Update vector store file chunking strategy to use StaticChunkingStrategy #230

Closed hiibolt closed 2 months ago

hiibolt commented 2 months ago

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