Values.DocumentContentSourceThe contents of a document. Documents have size limitations. The maximum file size for a document is 50 MB. The maximum amount of text that can be extracted from a single document is 5 MB. For more information, see Supported document formats in Amazon Q Business.
type nonrec t = {blob : Blob.t option;The contents of the document. Documents passed to the blob parameter must be base64 encoded. Your code might not need to encode the document file bytes if you're using an Amazon Web Services SDK to call Amazon Q Business APIs. If you are calling the Amazon Q Business endpoint directly using REST, you must base64 encode the contents before sending.
*)s3 : S3.t option;The path to the document in an Amazon S3 bucket.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Blob of Blob.t
| `Structure of (string * [> `String of S3BucketName.t ]) list ])
list ]