Module Values.DocumentContentSource

Contains information about the content of a document. Choose a dataSourceType and include the field that corresponds to it.

Sourcetype nonrec t = {
  1. dataSourceType : ContentDataSourceType.t;
    (*

    The type of data source that is connected to the knowledge base to which to ingest this document.

    *)
  2. custom : CustomContent.t option;
    (*

    Contains information about the content to ingest into a knowledge base connected to a custom data source.

    *)
  3. s3 : S3Content.t option;
    (*

    Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source

    *)
}
Sourceval context_ : string
Sourceval make : ?custom:??? -> ?s3:??? -> dataSourceType:ContentDataSourceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `String of CustomDocumentIdentifierIdString.t | `Structure of (string * [> `Blob of ByteContentBlob.t | `String of ByteContentDocMimeTypeString.t ]) list ]) list ]) 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