Module Values.LendingResultSource

Contains the detections for each page analyzed through the Analyze Lending API.

Sourcetype nonrec t = {
  1. page : UInteger.t option;
    (*

    The page number for a page, with regard to whole submission.

    *)
  2. pageClassification : PageClassification.t option;
    (*

    The classifier result for a given page.

    *)
  3. extractions : ExtractionList.t option;
    (*

    An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .

    *)
}
Sourceval make : ?page:??? -> ?pageClassification:??? -> ?extractions:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of UInteger.t | `List of [> `Structure of (string * [> `Structure of (string * [> `Integer of UInteger.t | `List of [> `Structure of (string * [> `Enum of string | `Float of Percent.t | `Integer of UInteger.t | `List of [> `Enum of string | `Structure of (string * [> `Enum of string | `Float of Percent.t | `List of [> `String of String_.t | `Structure of (string * [> `Integer of UInteger.t | `List of [> `Structure of (string * [> `List of [> `String of String_.t ] list | `String of String_.t ]) list ] list | `Structure of (string * [> `Float of Percent.t | `String of String_.t | `Structure of (string * [> `Float of Angle.t | `List of [> `Structure of (string * [> `Float of Float_.t ]) list ] list | `Structure of (string * [> `Float of Float_.t ]) list ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Float of Angle.t | `List of [> `Structure of (string * [> `Float of Float_.t ]) list ] list | `Structure of (string * [> `Float of Float_.t ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Enum of string | `Float of Percent.t | `List of [> `String of QueryPage.t | `Structure of (string * [> `Float of Float_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Enum of string | `Float of Angle.t | `List of [> `Structure of (string * [> `Float of Float_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Float of Float_.t ]) list ]) list ]) list ]) list ] list ]) list ]) list ] list | `Structure of (string * [> `List of [> `Structure of (string * [> `Float of Percent.t | `String of NonEmptyString.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