AutomatedReasoningPolicyAnnotatedContent
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.
Inheritors
Types
An annotated line of text from the source document, including both the line number and the text content.
Functions
Casts this AutomatedReasoningPolicyAnnotatedContent as a Line and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAnnotatedLine value. Throws an exception if the AutomatedReasoningPolicyAnnotatedContent is not a Line.
Casts this AutomatedReasoningPolicyAnnotatedContent as a Line and retrieves its aws.sdk.kotlin.services.bedrock.model.AutomatedReasoningPolicyAnnotatedLine value. Returns null if the AutomatedReasoningPolicyAnnotatedContent is not a Line.