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.
816 817 818 819 820 821 822 823 824 825 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 816 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
816 817 818 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 816 def unknown @unknown end |