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

Method reset

autoagent/memory/rag_memory.py:167–172  ·  view source on GitHub ↗

reset: reset the memory. Notice: You may need to set the environment variable `ALLOW_RESET` to `TRUE` to enable this function.

(self)

Source from the content-addressed store, hash-verified

165 return self.client.get_or_create_collection(name=collection_name).count()
166
167 def reset(self):
168 """
169 reset: reset the memory.
170 Notice: You may need to set the environment variable `ALLOW_RESET` to `TRUE` to enable this function.
171 """
172 self.client.reset()
173
174class Reranker:
175 def __init__(self, model: str) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected