Skip to content
New issue

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

Functions for Vector Stores #148

Open
TechedLemur opened this issue Feb 15, 2025 · 0 comments
Open

Functions for Vector Stores #148

TechedLemur opened this issue Feb 15, 2025 · 0 comments

Comments

@TechedLemur
Copy link

TechedLemur commented Feb 15, 2025

Describe the feature or improvement you're requesting

The client is missing functions for creating/modifying Vector Stores, and uploading files to the Vector Stores.
Here is the OpenAI docs where they have examples with the Python and Node SDKs: https://platform.openai.com/docs/assistants/tools/file-search#step-2-upload-files-and-add-them-to-a-vector-store

Additional context

I think we can use the existing Files api for uploading the files, and then attach the file to the Vector Store with a simple POST requests afterwards.
Here is an article where someone uses CURL to create Vector Stores and upload files, it should be possible to use those requests as inspiration for the rust client functions: https://4sysops.com/archives/create-an-assistant-with-vector-store-using-the-openai-api-and-curl/

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

No branches or pull requests

1 participant