MCPcopy Create free account
hub / github.com/Spinachead/arg / docs_count

Method docs_count

app/knowledge_base/kb_cache/faiss_cache.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 return f"<{cls}: key: {self.key}, obj: {self._obj}, docs_count: {self.docs_count()}>"
31
32 def docs_count(self) -> int:
33 return len(self._obj.docstore._dict)
34
35 def save(self, path: str, create_path: bool = True):
36 with self.acquire():

Callers 1

__repr__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected