Module Values.DocumentMetadataSource

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.

Sourcetype nonrec t = {
  1. type_ : MetadataSourceType.t;
    (*

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

    *)
  2. 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.

    *)
  3. s3Location : CustomS3Location.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?inlineAttributes:??? -> ?s3Location:??? -> type_:MetadataSourceType.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t