ConverseOutput

sealed class ConverseOutput

The output from a call to Converse.

Inheritors

Types

Link copied to clipboard
data class Message(val value: Message) : ConverseOutput

The message that the model generates.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ConverseOutput as a Message and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.Message value. Throws an exception if the ConverseOutput is not a Message.

Link copied to clipboard

Casts this ConverseOutput as a Message and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.Message value. Returns null if the ConverseOutput is not a Message.