Values.DocumentMetadataSourceContains 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.
type nonrec t = {type_ : MetadataSourceType.t;The type of the source source from which to add metadata.
*)inlineAttributes : DocumentMetadataInlineAttributesList.t option;An array of objects, each of which defines a metadata attribute to associate with the content to ingest. You define the attributes inline.
*)s3Location : CustomS3Location.t option;The Amazon S3 location of the file containing metadata to associate with the content to ingest.
*)}val make :
?inlineAttributes:??? ->
?s3Location:??? ->
type_:MetadataSourceType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of Key.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of NumberValue.t
| `Enum of string
| `List of [> `String of StringValue.t ] list
| `String of StringValue.t ])
list ])
list ]
list
| `Structure of (string * [> `String of S3ObjectUri.t ]) list ])
list ]