Module Values.AnalyzeExpenseRequestSource

AnalyzeExpense synchronously analyzes an input document for financially related relationships between text. Information is returned as ExpenseDocuments and seperated as follows: LineItemGroups- A data set containing LineItems which store information about the lines of text, such as an item purchased and its price on a receipt. SummaryFields- Contains all other information a receipt, such as header information or the vendors name.

Sourcetype nonrec t = {
  1. document : Document.t;
}
Sourceval context_ : string
Sourceval make : document:Document.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Blob of ImageBlob.t | `Structure of (string * [> `String of S3Bucket.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