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

Method _cache_path

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

Source from the content-addressed store, hash-verified

361 def descriptor(self) -> str:
362 return f"{self.provider}:{self.model}:{self.dimensions}"
363
364 def _normalize_text(self, text: str) -> str:
365 normalized = re.sub(r"\s+", " ", str(text or "")).strip()
366 return normalized[:8000]
367

Callers 2

_load_cachedMethod · 0.95
_save_cachedMethod · 0.95

Calls 1

_cache_keyMethod · 0.95

Tested by

no test coverage detected