reset: reset the memory. Notice: You may need to set the environment variable `ALLOW_RESET` to `TRUE` to enable this function.
(self)
| 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 | |
| 174 | class Reranker: |
| 175 | def __init__(self, model: str) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected