DocumentMetadata - Amazon Bedrock

DocumentMetadata

Contains information about the metadata associate with the content to ingest into a knowledge base. Choose a type and include the field that corresponds to it.

Contents

type

The type of the source source from which to add metadata.

Type: String

Valid Values: IN_LINE_ATTRIBUTE | S3_LOCATION

Required: Yes

inlineAttributes

An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.

Type: Array of MetadataAttribute objects

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Required: No

s3Location

The Amazon S3 location of the file containing metadata to associate with the content to ingest.

Type: CustomS3Location object

Required: No

See Also

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