Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GeneratedClient

Package version

Hierarchy

Index

Constructors

constructor

  • new GeneratedClient(credentials: coreHttp.TokenCredential | coreHttp.ServiceClientCredentials, endpoint: string, options?: Models.GeneratedClientOptionalParams): GeneratedClient

Properties

endpoint

endpoint: string

Methods

analyzeLayoutAsync

analyzeReceiptAsync

analyzeWithCustomModel

copyCustomModel

deleteCustomModel

  • deleteCustomModel(modelId: string, options?: coreHttp.OperationOptions): Promise<coreHttp.RestResponse>

generateModelCopyAuthorization

getAnalyzeFormResult

getAnalyzeLayoutResult

getAnalyzeReceiptResult

getCustomModel

getCustomModelCopyResult

getCustomModels

listCustomModels

listCustomModelsNext

trainCustomModelAsync

  • Create and train a custom model. The request must include a source parameter that is either an externally accessible Azure storage blob container Uri (preferably a Shared Access Signature Uri) or valid path to a data folder in a locally mounted drive. When local paths are specified, they must follow the Linux/Unix path format and be an absolute path rooted to the input mount configuration setting value e.g., if '{Mounts:Input}' configuration setting value is '/input' then a valid source path would be '/input/contosodataset'. All data to be trained is expected to be under the source folder or sub folders under it. Models are trained using documents that are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff'. Other type of content is ignored.

    Parameters

    • trainRequest: TrainRequest

      Training request parameters.

    • Optional options: coreHttp.OperationOptions

      The options parameters.

    Returns Promise<GeneratedClientTrainCustomModelAsyncResponse>

Generated using TypeDoc