Class: Aws::Context::Types::RetrievedContext

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

Overview

One entity in the context that AgenticRetrieveStream returns: a graph node, a graph edge, or a document.

Constant Summary collapse

SENSITIVE =
[:summary, :properties]

Instance Attribute Summary collapse

Instance Attribute Details

#content ⇒ Types::RetrievedContextContent

The retrieved content of the entity.



6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6156

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

#document_id ⇒ String

Identifier of the document. Set when this result is a document (one of nodeId, edgeId, or documentId).

Returns:

  • (String)


6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6156

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

#edge_id ⇒ Types::EdgeIdentifier

Identifier of the edge. Set when this result is an edge (one of nodeId, edgeId, or documentId).



6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6156

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

#entity_type ⇒ String

Specifies whether this result is a node, an edge, or a document. Valid values:

  • NODE - The result is a node.

  • EDGE - The result is an edge.

  • DOCUMENT - The result is a document.

Returns:

  • (String)


6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6156

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

#node_id ⇒ String

Identifier of the node. Set when this result is a node (one of nodeId, edgeId, or documentId).

Returns:

  • (String)


6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6156

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

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

Arbitrary key-value properties stored on the entity.

Returns:



6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6156

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

#summary ⇒ String

Human-readable description or summary of the entity.

Returns:

  • (String)


6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6156

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