Version: latest
agrag.common.data_models.entity_search.ExplorationResult
Bases: BaseModel
The result of one exploration call.
Attributes:
- status (
ExplorationStatus) – The overall outcome. - nodes (
list[ExplorationNode]) – The entities reached, in the order they were found. - edges (
list[ExplorationEdge]) – The edges followed, in the order they were found. - truncated (
bool) – True when a bound cut the exploration. - truncated_by (
list[ExplorationBound]) – The bounds that cut the exploration. - detail (
str | None) – A short message for a malformed or failed id. None otherwise.
detail
detail: str | None = None
edges
edges: list[ExplorationEdge] = Field(default_factory=list)
nodes
nodes: list[ExplorationNode] = Field(default_factory=list)
status
status: ExplorationStatus
truncated
truncated: bool = False
truncated_by
truncated_by: list[ExplorationBound] = Field(default_factory=list)