MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _cache_key

Method _cache_key

skills/embedding/scripts/embed.py:359–361  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

357 self.model = "hash"
358 self.model_source = "hash"
359
360 @property
361 def descriptor(self) -> str:
362 return f"{self.provider}:{self.model}:{self.dimensions}"
363
364 def _normalize_text(self, text: str) -> str:

Callers 1

_cache_pathMethod · 0.95

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected