Class: Aws::Context::Types::SearchAgentContextResultEntity

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-context/lib/aws-sdk-context/types.rb

Overview

One SearchAgentContext result.

Constant Summary collapse

SENSITIVE =
[:summary, :properties]

Instance Attribute Summary collapse

Instance Attribute Details

#edge_id ⇒ Types::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.



6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6311

class SearchAgentContextResultEntity < Struct.new(
  :node_id,
  :edge_id,
  :entity_type,
  :summary,
  :score,
  :properties)
  SENSITIVE = [:summary, :properties]
  include Aws::Structure
end

#entity_type ⇒ String

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.

Returns:

  • (String)


6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6311

class SearchAgentContextResultEntity < Struct.new(
  :node_id,
  :edge_id,
  :entity_type,
  :summary,
  :score,
  :properties)
  SENSITIVE = [:summary, :properties]
  include Aws::Structure
end

#node_id ⇒ String

Identifier of the matched node. Set when this result is a node (at most one of nodeId or edgeId).

Returns:

  • (String)


6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6311

class SearchAgentContextResultEntity < Struct.new(
  :node_id,
  :edge_id,
  :entity_type,
  :summary,
  :score,
  :properties)
  SENSITIVE = [:summary, :properties]
  include Aws::Structure
end

#properties ⇒ Hash<String,Types::AnyValue>

Arbitrary key-value properties stored on the entity.

Returns:



6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6311

class SearchAgentContextResultEntity < Struct.new(
  :node_id,
  :edge_id,
  :entity_type,
  :summary,
  :score,
  :properties)
  SENSITIVE = [:summary, :properties]
  include Aws::Structure
end

#score ⇒ Float

Relevance score indicating how well this entity matches the query.

Returns:

  • (Float)


6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6311

class SearchAgentContextResultEntity < Struct.new(
  :node_id,
  :edge_id,
  :entity_type,
  :summary,
  :score,
  :properties)
  SENSITIVE = [:summary, :properties]
  include Aws::Structure
end

#summary ⇒ String

Human-readable description or summary of the entity.

Returns:

  • (String)


6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6311

class SearchAgentContextResultEntity < Struct.new(
  :node_id,
  :edge_id,
  :entity_type,
  :summary,
  :score,
  :properties)
  SENSITIVE = [:summary, :properties]
  include Aws::Structure
end