Class: Aws::Bedrock::Types::AutomatedReasoningPolicyAnnotatedContent
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::AutomatedReasoningPolicyAnnotatedContent
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
Note:
AutomatedReasoningPolicyAnnotatedContent is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AutomatedReasoningPolicyAnnotatedContent corresponding to the set member.
Represents a content element within an annotated chunk. This union type allows for different types of content elements to be included in document chunks, such as individual lines of text with their line numbers.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#line ⇒ Types::AutomatedReasoningPolicyAnnotatedLine
An annotated line of text from the source document, including both the line number and the text content.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#line ⇒ Types::AutomatedReasoningPolicyAnnotatedLine
An annotated line of text from the source document, including both the line number and the text content.
800 801 802 803 804 805 806 807 808 809 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 800 class AutomatedReasoningPolicyAnnotatedContent < Struct.new( :line, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Line < AutomatedReasoningPolicyAnnotatedContent; end class Unknown < AutomatedReasoningPolicyAnnotatedContent; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
800 801 802 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 800 def unknown @unknown end |