Buckets:

download
raw
873 Bytes
from typing import List, Optional
from cognee.infrastructure.engine import DataPoint
from cognee.modules.engine.models.EntityType import EntityType
class Entity(DataPoint):
name: str
is_a: Optional[EntityType] = None
description: str
relations: List[tuple] = []
# Optional truth-alignment fields; never embedded (kept out of index_fields)
# and not part of id/dedup (kept out of identity_fields).
truth_alignment: Optional[list[float]] = None
truth_subspace_signature: Optional[str] = None
truth_epoch: Optional[int] = None
# identity_fields makes the id deterministic and namespaced by class
# (``Entity:<name>``) when constructed without an explicit id — the same
# value ``Entity.id_for(name)`` produces. Prevents the random-uuid4 footgun.
metadata: dict = {"index_fields": ["name"], "identity_fields": ["name"]}

Xet Storage Details

Size:
873 Bytes
·
Xet hash:
7c8b77aae9d3591e9e3ace3c79b90a20ab9a1791d52f8ce6157f807625ed70a9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.