Update ChromaDBAdapter.py
self.list_collections() -> client.list_collections()
This commit is contained in:
parent
aaa1776293
commit
8c6e5fab76
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,7 @@ class ChromaDBAdapter(VectorDBInterface):
|
|||
Returns True upon successful deletion of all collections.
|
||||
"""
|
||||
client = await self.get_connection()
|
||||
collections = await self.list_collections()
|
||||
collections = await client.list_collections()
|
||||
for collection_name in collections:
|
||||
await client.delete_collection(collection_name)
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue