RetrievalResultContent - Amazon Bedrock

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

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

Required: No

See Also

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