Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Cognitive.AnalyzeReceipts Class Reference

AnalyzeReceipts implements AnalyzeReceipts More...

Inheritance diagram for Synapse.ML.Cognitive.AnalyzeReceipts:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Cognitive.AnalyzeReceipts:
Collaboration graph
[legend]

Public Member Functions

 AnalyzeReceipts ()
 Creates a AnalyzeReceipts without any parameters. More...
 
 AnalyzeReceipts (string uid)
 Creates a AnalyzeReceipts with a UID that is used to give the AnalyzeReceipts a unique ID. More...
 
AnalyzeReceipts SetBackoffs (int[] value)
 Sets value for backoffs More...
 
AnalyzeReceipts SetConcurrency (int value)
 Sets value for concurrency More...
 
AnalyzeReceipts SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
AnalyzeReceipts SetErrorCol (string value)
 Sets value for errorCol More...
 
AnalyzeReceipts SetImageBytes (byte[] value)
 Sets value for imageBytes More...
 
AnalyzeReceipts SetImageBytesCol (string value)
 Sets value for imageBytes column More...
 
AnalyzeReceipts SetImageUrl (string value)
 Sets value for imageUrl More...
 
AnalyzeReceipts SetImageUrlCol (string value)
 Sets value for imageUrl column More...
 
AnalyzeReceipts SetIncludeTextDetails (bool value)
 Sets value for includeTextDetails More...
 
AnalyzeReceipts SetIncludeTextDetailsCol (string value)
 Sets value for includeTextDetails column More...
 
AnalyzeReceipts SetInitialPollingDelay (int value)
 Sets value for initialPollingDelay More...
 
AnalyzeReceipts SetLocale (string value)
 Sets value for locale More...
 
AnalyzeReceipts SetLocaleCol (string value)
 Sets value for locale column More...
 
AnalyzeReceipts SetMaxPollingRetries (int value)
 Sets value for maxPollingRetries More...
 
AnalyzeReceipts SetModelVersion (string value)
 Sets value for modelVersion More...
 
AnalyzeReceipts SetModelVersionCol (string value)
 Sets value for modelVersion column More...
 
AnalyzeReceipts SetOutputCol (string value)
 Sets value for outputCol More...
 
AnalyzeReceipts SetPages (string value)
 Sets value for pages More...
 
AnalyzeReceipts SetPagesCol (string value)
 Sets value for pages column More...
 
AnalyzeReceipts SetPollingDelay (int value)
 Sets value for pollingDelay More...
 
AnalyzeReceipts SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
AnalyzeReceipts SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
AnalyzeReceipts SetSuppressMaxRetriesExceededException (bool value)
 Sets value for suppressMaxRetriesExceededException More...
 
AnalyzeReceipts SetTimeout (double value)
 Sets value for timeout More...
 
AnalyzeReceipts SetUrl (string value)
 Sets value for url More...
 
int [] GetBackoffs ()
 Gets backoffs value More...
 
int GetConcurrency ()
 Gets concurrency value More...
 
double GetConcurrentTimeout ()
 Gets concurrentTimeout value More...
 
string GetErrorCol ()
 Gets errorCol value More...
 
byte [] GetImageBytes ()
 Gets imageBytes value More...
 
string GetImageUrl ()
 Gets imageUrl value More...
 
bool GetIncludeTextDetails ()
 Gets includeTextDetails value More...
 
int GetInitialPollingDelay ()
 Gets initialPollingDelay value More...
 
string GetLocale ()
 Gets locale value More...
 
int GetMaxPollingRetries ()
 Gets maxPollingRetries value More...
 
string GetModelVersion ()
 Gets modelVersion value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
string GetPages ()
 Gets pages value More...
 
int GetPollingDelay ()
 Gets pollingDelay value More...
 
string GetSubscriptionKey ()
 Gets subscriptionKey value More...
 
bool GetSuppressMaxRetriesExceededException ()
 Gets suppressMaxRetriesExceededException value More...
 
double GetTimeout ()
 Gets timeout value More...
 
string GetUrl ()
 Gets url value More...
 
void Save (string path)
 Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
 
JavaMLWriter Write ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< AnalyzeReceiptsRead ()
 Get the corresponding JavaMLReader instance. More...
 
AnalyzeReceipts SetLocation (string value)
 Sets value for location More...
 
AnalyzeReceipts SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

static AnalyzeReceipts Load (string path)
 Loads the AnalyzeReceipts that was previously saved using Save(string). More...
 

Detailed Description

AnalyzeReceipts implements AnalyzeReceipts

Constructor & Destructor Documentation

◆ AnalyzeReceipts() [1/2]

Synapse.ML.Cognitive.AnalyzeReceipts.AnalyzeReceipts ( )
inline

Creates a AnalyzeReceipts without any parameters.

◆ AnalyzeReceipts() [2/2]

Synapse.ML.Cognitive.AnalyzeReceipts.AnalyzeReceipts ( string  uid)
inline

Creates a AnalyzeReceipts with a UID that is used to give the AnalyzeReceipts a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ GetBackoffs()

int [] Synapse.ML.Cognitive.AnalyzeReceipts.GetBackoffs ( )

Gets backoffs value

Returns
backoffs: array of backoffs to use in the handler

◆ GetConcurrency()

int Synapse.ML.Cognitive.AnalyzeReceipts.GetConcurrency ( )

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

double Synapse.ML.Cognitive.AnalyzeReceipts.GetConcurrentTimeout ( )

Gets concurrentTimeout value

Returns
concurrentTimeout: max number seconds to wait on futures if concurrency >= 1

◆ GetErrorCol()

string Synapse.ML.Cognitive.AnalyzeReceipts.GetErrorCol ( )

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetImageBytes()

byte [] Synapse.ML.Cognitive.AnalyzeReceipts.GetImageBytes ( )

Gets imageBytes value

Returns
imageBytes: bytestream of the image to use

◆ GetImageUrl()

string Synapse.ML.Cognitive.AnalyzeReceipts.GetImageUrl ( )

Gets imageUrl value

Returns
imageUrl: the url of the image to use

◆ GetIncludeTextDetails()

bool Synapse.ML.Cognitive.AnalyzeReceipts.GetIncludeTextDetails ( )

Gets includeTextDetails value

Returns
includeTextDetails: Include text lines and element references in the result.

◆ GetInitialPollingDelay()

int Synapse.ML.Cognitive.AnalyzeReceipts.GetInitialPollingDelay ( )

Gets initialPollingDelay value

Returns
initialPollingDelay: number of milliseconds to wait before first poll for result

◆ GetLocale()

string Synapse.ML.Cognitive.AnalyzeReceipts.GetLocale ( )

Gets locale value

Returns
locale: Locale of the receipt. Supported locales: en-AU, en-CA, en-GB, en-IN, en-US.

◆ GetMaxPollingRetries()

int Synapse.ML.Cognitive.AnalyzeReceipts.GetMaxPollingRetries ( )

Gets maxPollingRetries value

Returns
maxPollingRetries: number of times to poll

◆ GetModelVersion()

string Synapse.ML.Cognitive.AnalyzeReceipts.GetModelVersion ( )

Gets modelVersion value

Returns
modelVersion: This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version.

◆ GetOutputCol()

string Synapse.ML.Cognitive.AnalyzeReceipts.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetPages()

string Synapse.ML.Cognitive.AnalyzeReceipts.GetPages ( )

Gets pages value

Returns
pages: The page selection only leveraged for multi-page PDF and TIFF documents. Accepted input include single pages (e.g.'1, 2' -> pages 1 and 2 will be processed), finite (e.g. '2-5' -> pages 2 to 5 will be processed) and open-ended ranges (e.g. '5-' -> all the pages from page 5 will be processed; e.g. '-10' -> pages 1 to 10 will be processed). All of these can be mixed together and ranges are allowed to overlap (eg. '-5, 1, 3, 5-10' - pages 1 to 10 will be processed). The service will accept the request if it can process at least one page of the document (e.g. using '5-100' on a 5 page document is a valid input where page 5 will be processed). If no page range is provided, the entire document will be processed.

◆ GetPollingDelay()

int Synapse.ML.Cognitive.AnalyzeReceipts.GetPollingDelay ( )

Gets pollingDelay value

Returns
pollingDelay: number of milliseconds to wait between polling

◆ GetSubscriptionKey()

string Synapse.ML.Cognitive.AnalyzeReceipts.GetSubscriptionKey ( )

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetSuppressMaxRetriesExceededException()

bool Synapse.ML.Cognitive.AnalyzeReceipts.GetSuppressMaxRetriesExceededException ( )

Gets suppressMaxRetriesExceededException value

Returns
suppressMaxRetriesExceededException: set true to suppress the maxumimum retries exception and report in the error column

◆ GetTimeout()

double Synapse.ML.Cognitive.AnalyzeReceipts.GetTimeout ( )

Gets timeout value

Returns
timeout: number of seconds to wait before closing the connection

◆ GetUrl()

string Synapse.ML.Cognitive.AnalyzeReceipts.GetUrl ( )

Gets url value

Returns
url: Url of the service

◆ Load()

static AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.Load ( string  path)
static

Loads the AnalyzeReceipts that was previously saved using Save(string).

Parameters
pathThe path the previous AnalyzeReceipts was saved to
Returns
New AnalyzeReceipts object, loaded from path.

◆ Read()

JavaMLReader<AnalyzeReceipts> Synapse.ML.Cognitive.AnalyzeReceipts.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<AnalyzeReceipts> instance for this ML instance.

◆ Save()

void Synapse.ML.Cognitive.AnalyzeReceipts.Save ( string  path)

Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.

Parameters
pathThe path to save the object to

◆ SetBackoffs()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetBackoffs ( int []  value)

Sets value for backoffs

Parameters
valuearray of backoffs to use in the handler
Returns
New AnalyzeReceipts object

◆ SetConcurrency()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetConcurrency ( int  value)

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New AnalyzeReceipts object

◆ SetConcurrentTimeout()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetConcurrentTimeout ( double  value)

Sets value for concurrentTimeout

Parameters
valuemax number seconds to wait on futures if concurrency >= 1
Returns
New AnalyzeReceipts object

◆ SetErrorCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetErrorCol ( string  value)

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New AnalyzeReceipts object

◆ SetImageBytes()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetImageBytes ( byte []  value)

Sets value for imageBytes

Parameters
valuebytestream of the image to use
Returns
New AnalyzeReceipts object

◆ SetImageBytesCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetImageBytesCol ( string  value)

Sets value for imageBytes column

Parameters
valuebytestream of the image to use
Returns
New AnalyzeReceipts object

◆ SetImageUrl()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetImageUrl ( string  value)

Sets value for imageUrl

Parameters
valuethe url of the image to use
Returns
New AnalyzeReceipts object

◆ SetImageUrlCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetImageUrlCol ( string  value)

Sets value for imageUrl column

Parameters
valuethe url of the image to use
Returns
New AnalyzeReceipts object

◆ SetIncludeTextDetails()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetIncludeTextDetails ( bool  value)

Sets value for includeTextDetails

Parameters
valueInclude text lines and element references in the result.
Returns
New AnalyzeReceipts object

◆ SetIncludeTextDetailsCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetIncludeTextDetailsCol ( string  value)

Sets value for includeTextDetails column

Parameters
valueInclude text lines and element references in the result.
Returns
New AnalyzeReceipts object

◆ SetInitialPollingDelay()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetInitialPollingDelay ( int  value)

Sets value for initialPollingDelay

Parameters
valuenumber of milliseconds to wait before first poll for result
Returns
New AnalyzeReceipts object

◆ SetLinkedService()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetLinkedService ( string  value)

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New AnalyzeReceipts object

◆ SetLocale()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetLocale ( string  value)

Sets value for locale

Parameters
valueLocale of the receipt. Supported locales: en-AU, en-CA, en-GB, en-IN, en-US.
Returns
New AnalyzeReceipts object

◆ SetLocaleCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetLocaleCol ( string  value)

Sets value for locale column

Parameters
valueLocale of the receipt. Supported locales: en-AU, en-CA, en-GB, en-IN, en-US.
Returns
New AnalyzeReceipts object

◆ SetLocation()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetLocation ( string  value)

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New AnalyzeReceipts object

◆ SetMaxPollingRetries()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetMaxPollingRetries ( int  value)

Sets value for maxPollingRetries

Parameters
valuenumber of times to poll
Returns
New AnalyzeReceipts object

◆ SetModelVersion()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetModelVersion ( string  value)

Sets value for modelVersion

Parameters
valueThis value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version.
Returns
New AnalyzeReceipts object

◆ SetModelVersionCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetModelVersionCol ( string  value)

Sets value for modelVersion column

Parameters
valueThis value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version.
Returns
New AnalyzeReceipts object

◆ SetOutputCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New AnalyzeReceipts object

◆ SetPages()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetPages ( string  value)

Sets value for pages

Parameters
valueThe page selection only leveraged for multi-page PDF and TIFF documents. Accepted input include single pages (e.g.'1, 2' -> pages 1 and 2 will be processed), finite (e.g. '2-5' -> pages 2 to 5 will be processed) and open-ended ranges (e.g. '5-' -> all the pages from page 5 will be processed; e.g. '-10' -> pages 1 to 10 will be processed). All of these can be mixed together and ranges are allowed to overlap (eg. '-5, 1, 3, 5-10' - pages 1 to 10 will be processed). The service will accept the request if it can process at least one page of the document (e.g. using '5-100' on a 5 page document is a valid input where page 5 will be processed). If no page range is provided, the entire document will be processed.
Returns
New AnalyzeReceipts object

◆ SetPagesCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetPagesCol ( string  value)

Sets value for pages column

Parameters
valueThe page selection only leveraged for multi-page PDF and TIFF documents. Accepted input include single pages (e.g.'1, 2' -> pages 1 and 2 will be processed), finite (e.g. '2-5' -> pages 2 to 5 will be processed) and open-ended ranges (e.g. '5-' -> all the pages from page 5 will be processed; e.g. '-10' -> pages 1 to 10 will be processed). All of these can be mixed together and ranges are allowed to overlap (eg. '-5, 1, 3, 5-10' - pages 1 to 10 will be processed). The service will accept the request if it can process at least one page of the document (e.g. using '5-100' on a 5 page document is a valid input where page 5 will be processed). If no page range is provided, the entire document will be processed.
Returns
New AnalyzeReceipts object

◆ SetPollingDelay()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetPollingDelay ( int  value)

Sets value for pollingDelay

Parameters
valuenumber of milliseconds to wait between polling
Returns
New AnalyzeReceipts object

◆ SetSubscriptionKey()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetSubscriptionKey ( string  value)

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New AnalyzeReceipts object

◆ SetSubscriptionKeyCol()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetSubscriptionKeyCol ( string  value)

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New AnalyzeReceipts object

◆ SetSuppressMaxRetriesExceededException()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetSuppressMaxRetriesExceededException ( bool  value)

Sets value for suppressMaxRetriesExceededException

Parameters
valueset true to suppress the maxumimum retries exception and report in the error column
Returns
New AnalyzeReceipts object

◆ SetTimeout()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetTimeout ( double  value)

Sets value for timeout

Parameters
valuenumber of seconds to wait before closing the connection
Returns
New AnalyzeReceipts object

◆ SetUrl()

AnalyzeReceipts Synapse.ML.Cognitive.AnalyzeReceipts.SetUrl ( string  value)

Sets value for url

Parameters
valueUrl of the service
Returns
New AnalyzeReceipts object

The documentation for this class was generated from the following file: