#Unable to fully delete file attached to vector store

1 messages · Page 1 of 1 (latest)

toxic forge
#

Description:
After deleting a file using const file = await openai.files.del("file-abc123");, the file is removed, but remains attached to the vector store. Per the documentation, the file should be completely deleted.

Steps to reproduce:

  1. Upload a file.
  2. Attach the file to one or more vector stores.
  3. Delete the file using openai.files.del.
  4. The file still appears attached to the vector store, showing the file ID instead of the file name.

Expected result:

File should get deleted from vector store as well, as per doc