DocumentSourceDict¶
Union Type¶
DocumentSourceDict
module-attribute
¶
DocumentSourceDict = Union[DocumentSourceBytesDict | DocumentSourceS3LocationDict | DocumentSourceTextDict | DocumentSourceContentDict]
Dictionary form of DocumentSource, setting exactly one variant.
Union Member Types¶
DocumentSourceBytesDict
¶
DocumentSourceS3LocationDict
¶
Bases: TypedDict
Attributes¶
s3_location
instance-attribute
¶
s3_location: S3Location | S3LocationDict
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.
DocumentSourceTextDict
¶
DocumentSourceContentDict
¶
Bases: TypedDict
Attributes¶
content
instance-attribute
¶
content: Sequence[DocumentContentBlock | DocumentContentBlockDict]
The structured content of the document source, which may include various content blocks such as text, images, or other document elements.