Skip to content

[BUG] Vector File Association Bug #540

@zN3utr4l

Description

@zN3utr4l

Describe the bug

I noticed a problem returning the total number of files associated with a vector. When I delete a file associated with a vector, VectorStoreFileCounts returns Total 1, but if I view the files associated with the vector, they aren't there.

Steps to reproduce

How to reproduce it:

  • Create a Vector
  • Create a Vector File
  • Associate the Vector File with the Vector
  • Delete the Vector File

In VectorStoreClient.GetVectorStore(), VectorStoreFileCounts returns Total 1.

But if you first try to remove the association between the Vector file and the Vector and then delete the file, the first function returns Total 0.

Code snippets

OS

Windows

.NET version

8

Library version

2.2.0

Metadata

Metadata

Assignees

Labels

questionCategory: The issue is seeking information about the library or its usage.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions