MCPcopy Create free account
hub / github.com/LLMQuant/quant-mind / embedding_text

Method embedding_text

quantmind/knowledge/paper.py:51–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49def _text_hash(value: str) -> str:
50 return hashlib.sha256(value.encode("utf-8")).hexdigest()
51
52
53def _paper_source_id(content_hash: str) -> UUID:
54 return uuid5(NAMESPACE_URL, f"quantmind:paper-source:{content_hash}")
55

Callers 1

test_embedding_textMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_embedding_textMethod · 0.76