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
Confirm this is an issue with the Python library and not an underlying OpenAI API
This is an issue with the Python library
Describe the bug
hi,
following code should have returned value in if condition, but it doesn't.
print(util.client.vector_stores.retrieve(vector_store_id="vs_uReWuTIUuxlBCKR8iGlDuVnf")) response = util.client.vector_stores.list() for store in response.data: if store.id == "vs_uReWuTIUuxlBCKR8iGlDuVnf": print("========>", store.name)
To Reproduce
Bug Summary: Duplicate vector stores with same name are created, and the first one becomes inaccessible via list API.
Steps to Reproduce:
Create a vector store with the name "XYZ".
Fetch the ID of the vector store and store it as XYZ_id.
Again, create a vector store with the same name"XYZ".
Fetch the ID of the second vector store and store it as XYZ_id_2. Note: Ideally, this step should not create a new vector store since a store with the same name already exists.
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
hi,
following code should have returned value in if condition, but it doesn't.
print(util.client.vector_stores.retrieve(vector_store_id="vs_uReWuTIUuxlBCKR8iGlDuVnf")) response = util.client.vector_stores.list() for store in response.data: if store.id == "vs_uReWuTIUuxlBCKR8iGlDuVnf": print("========>", store.name)
To Reproduce
Bug Summary: Duplicate vector stores with same name are created, and the first one becomes inaccessible via list API.
Steps to Reproduce:
Create a vector store with the name
"XYZ"
.Fetch the ID of the vector store and store it as
XYZ_id
.Again, create a vector store with the same name
"XYZ"
.Fetch the ID of the second vector store and store it as
XYZ_id_2
.Note: Ideally, this step should not create a new vector store since a store with the same name already exists.
Run:
✅ Returns the vector store, name is
"XYZ"
.Run:
✅ Also returns a vector store, name is
"XYZ"
.Run:
❌ Only
XYZ_id_2
is listed.XYZ_id
is missing from the list.Issue:
list()
API does not return the original vector store (XYZ_id
), resulting in a loss of reference.Code snippets
OS
windows
Python version
3.11
Library version
1.82
The text was updated successfully, but these errors were encountered: