RetrievalResultContent - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

RetrievalResultContent

Contains information about a chunk of text from a data source in the knowledge base. If the result is from a structured data source, the cell in the database and the type of the value is also identified.

This data type is used in the following API operations:

Contents

audio

Audio segment information when the retrieval result contains audio content.

Type: AudioSegment object

Required: No

byteContent

A data URI with base64-encoded content from the data source. The URI is in the following format: returned in the following format: data:image/jpeg;base64,${base64-encoded string}.

Type: String

Required: No

row

Specifies information about the rows with the cells to return in retrieval.

Type: Array of RetrievalResultContentColumn objects

Required: No

text

The cited text from the data source.

Type: String

Required: No

type

The type of content in the retrieval result.

Type: String

Valid Values: TEXT | IMAGE | ROW | AUDIO | VIDEO

Required: No

video

Video segment information when the retrieval result contains video content.

Type: VideoSegment object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: