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

Method embedding_text

quantmind/knowledge/_base.py:99–108  ·  view source on GitHub ↗

Return the canonical string the store should embed for this item. Flatten subclasses: typically ``summary + key attrs``. Tree subclasses: typically ``root.title + root.summary``. Subclasses MUST override.

(self)

Source from the content-addressed store, hash-verified

97 the library indexing boundary.
98 """
99
100 model_config = ConfigDict(extra="forbid", frozen=True)
101
102 # Identity
103 id: UUID = Field(default_factory=uuid4)
104 item_type: str
105 schema_version: str = "1.0"
106
107 # Time (financial mandate)
108 as_of: datetime = Field(..., description="Information cutoff time.")
109 available_at: datetime | None = Field(
110 default=None,
111 description="Time the source became observable to researchers.",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected