MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / _path_for_key

Method _path_for_key

examples/server/server.py:10466–10467  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

10464 )
10465
10466 def _path_for_key(self, key: str) -> Path:
10467 return self.path / f"{key}.safetensors"
10468
10469 def load(self, key: str) -> Optional[MTMDEmbedding]:
10470 entry_path = self._path_for_key(key)

Callers 2

loadMethod · 0.95
saveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected