MCPcopy Create free account
hub / github.com/HKUDS/AutoAgent / delete

Method delete

autoagent/memory/rag_memory.py:147–155  ·  view source on GitHub ↗

delete: delete the memery collections. Args: collection_name: the name of the collection to delete.

(self, collection_name=None)

Source from the content-addressed store, hash-verified

145 return collection.get(record_id)
146
147 def delete(self, collection_name=None):
148 """
149 delete: delete the memery collections.
150 Args:
151 collection_name: the name of the collection to delete.
152 """
153 if not collection_name:
154 collection_name = self.collection_name
155 return self.client.delete_collection(name=collection_name)
156
157 def count(self, collection_name=None):
158 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected