Module Values.CustomContentSource

Contains information about the content to ingest into a knowledge base connected to a custom data source. Choose a sourceType and include the field that corresponds to it.

Sourcetype nonrec t = {
  1. customDocumentIdentifier : CustomDocumentIdentifier.t;
    (*

    A unique identifier for the document.

    *)
  2. sourceType : CustomSourceType.t;
    (*

    The source of the data to ingest.

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

    Contains information about the Amazon S3 location of the file from which to ingest data.

    *)
  4. inlineContent : InlineContent.t option;
    (*

    Contains information about content defined inline to ingest into a knowledge base.

    *)
}
Sourceval context_ : string
Sourceval make : ?s3Location:??? -> ?inlineContent:??? -> customDocumentIdentifier:CustomDocumentIdentifier.t -> sourceType:CustomSourceType.t -> unit -> t
Sourceval to_value : t -> [> `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 ]
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