SearchAgentContextResultEntity
¶
Source code in docs_src/capo_context/types/search_agent_context_result_entity.py
edge_id
instance-attribute
¶
edge_id: NotRequired[EdgeIdentifier]
Identifier of the matched edge, set when this result is an edge (at most one of nodeId or edgeId). Edge search isn't supported, so AWS Context doesn't set this member. An edge document indexed by a custom ontology is returned with neither nodeId nor edgeId set.
entity_type
instance-attribute
¶
entity_type: EntityType
Specifies whether this result is a node or an edge. Valid values:
-
NODE- The result is a node. This is the only value that AWS Context returns. -
EDGE- The result is an edge.
node_id
instance-attribute
¶
node_id: NotRequired[GenericNodeId]
Identifier of the matched node. Set when this result is a node (at most one of nodeId or edgeId).
properties
instance-attribute
¶
properties: NotRequired[Metadata]
Arbitrary key-value properties stored on the entity.
score
instance-attribute
¶
score: Score
Relevance score indicating how well this entity matches the query.
summary
instance-attribute
¶
summary: NotRequired[EntitySummary]
Human-readable description or summary of the entity.