FlowTraceNodeOutputContent

Contains the content of the node output. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.

Inheritors

Types

Link copied to clipboard
data class Document(val value: <Error class: unknown class>) : FlowTraceNodeOutputContent

The content of the node output.

Link copied to clipboard

Functions

Link copied to clipboard
fun asDocument(): <Error class: unknown class>

Casts this FlowTraceNodeOutputContent as a Document and retrieves its aws.smithy.kotlin.runtime.content.Document value. Throws an exception if the FlowTraceNodeOutputContent is not a Document.

Link copied to clipboard
fun asDocumentOrNull(): <Error class: unknown class>?

Casts this FlowTraceNodeOutputContent as a Document and retrieves its aws.smithy.kotlin.runtime.content.Document value. Returns null if the FlowTraceNodeOutputContent is not a Document.