I’ve been developing a NodeJS application using the openai package, starting with version 4.27.0 a few months back. In that version, I used the ‘retrieval’ tool extensively. After updating to version 4.37.0, I noticed that ‘retrieval’ is no longer available, and it seems ‘file_search’ is its replacement. However, ‘file_search’ appears to require a new ‘vector store’ object which wasn’t needed before.
The documenation now has nothing about the ‘retrieval’ tool so I’m questioning my sanity.
A few questions:
If this change went into v4, then I’m confused or missing something.
If not, why such a significant change appears in a minor version update?
I appreciate your feedback about us making this change in a minor version. Will share this with the team and we’ll consider making a major version bump the next time. We had discussed this decision leading up to the launch but assumed that since most folks lock the versions they use in their package-lock.json files, this shouldn’t break anyone’s integration unless they explicitly chose to upgrade their SDK version.