SearchAgentContextResultEntity
One SearchAgentContext result.
Contents
- 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.
Type: String
Valid Values:
NODE | EDGERequired: Yes
-
- score
-
Relevance score indicating how well this entity matches the query.
Type: Double
Required: Yes
- edgeId
-
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.
Type: EdgeIdentifier object
Required: No
- nodeId
-
Identifier of the matched node. Set when this result is a node (at most one of nodeId or edgeId).
Type: String
Length Constraints: Minimum length of 0. Maximum length of 2048.
Pattern:
[\w\-\.#:@/%~]+Required: No
- properties
-
Arbitrary key-value properties stored on the entity.
Type: String to AnyValue object map
Map Entries: Minimum number of 0 items. Maximum number of 50 items.
Key Length Constraints: Minimum length of 1. Maximum length of 128.
Required: No
- summary
-
Human-readable description or summary of the entity.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: