S3Location
The location of a document object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.
Inherited functions
Casts this DocumentSource as a Bytes and retrieves its kotlin.ByteArray value. Throws an exception if the DocumentSource is not a Bytes.
Casts this DocumentSource as a Bytes and retrieves its kotlin.ByteArray value. Returns null if the DocumentSource is not a Bytes.
Casts this DocumentSource as a Content and retrieves its kotlin.collections.List
Casts this DocumentSource as a Content and retrieves its kotlin.collections.List
Casts this DocumentSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.S3Location value. Throws an exception if the DocumentSource is not a S3Location.
Casts this DocumentSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.S3Location value. Returns null if the DocumentSource is not a S3Location.
Casts this DocumentSource as a Text and retrieves its kotlin.String value. Throws an exception if the DocumentSource is not a Text.
Casts this DocumentSource as a Text and retrieves its kotlin.String value. Returns null if the DocumentSource is not a Text.