semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

DeleteCollectionAsync is not deleting the collection, even if collection exists.

Open Jawahar-Mariappan opened this issue 2 years ago • 1 comments

Describe the bug I reckon, the function 'DeleteCollectionAsync' in "\semantic-kernel\dotnet\src\Connectors\Connectors.Memory.Qdrant\QdrantMemoryStore.cs" is having the logical error.

If collection exists then I reckon, we should delete them. The function '_qdrantClient.DoesCollectionExistAsync' returns true, if the collection exists. However, the conditional statement is having the not check so not deleting the collection, even if it exists.

Jawahar-Mariappan avatar May 07 '23 18:05 Jawahar-Mariappan

@Jawahar-Mariappan , thanks for bringing this up, we are looking into it.

evchaki avatar May 09 '23 20:05 evchaki

Fixed in #1025

craigomatic avatar May 19 '23 00:05 craigomatic