FlowOutputContent

sealed class FlowOutputContent

Contains information about the content in an output from prompt flow invocation.

Inheritors

Types

Link copied to clipboard
data class Document(val value: Document) : FlowOutputContent

The content in the output.

Link copied to clipboard

Functions

Link copied to clipboard

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

Link copied to clipboard

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