Skip to content

Form training client API consistency issues#11097

Merged
samvaity merged 8 commits intoAzure:masterfrom
samvaity:formtraining-client-updates
May 14, 2020
Merged

Form training client API consistency issues#11097
samvaity merged 8 commits intoAzure:masterfrom
samvaity:formtraining-client-updates

Conversation

@samvaity
Copy link
Member

@samvaity samvaity commented May 12, 2020

  • Adopt to training namespace to align with .NET
  • Add model for training file filter called TrainModelOptions
  • Rename training files param to trainingFilesUrl
  • Rename useLabels to useTrainingLabels.
  • Rename AccountProperties count and limit to customModelCount and customModelLimit

@samvaity samvaity force-pushed the formtraining-client-updates branch 4 times, most recently from cfa7ce9 to 5bc0642 Compare May 12, 2020 17:38
@samvaity samvaity force-pushed the formtraining-client-updates branch from 5bc0642 to ac8a7c4 Compare May 12, 2020 18:04
@samvaity samvaity requested a review from kristapratico May 13, 2020 01:13
## 1.0.0-beta.3 (Unreleased)

FormTraining Client updates:
- Adopt to `training` namespace for Form Recognizer Training Clients
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: adopt the training... (sorry)

// BEGIN: com.azure.ai.formrecognizer.training.FormTrainingClient.beginTraining#string-boolean-trainModelOptions-Duration
String trainingFilesUrl = "{training-set-SAS-URL}";
TrainModelOptions trainModelOptions = new TrainModelOptions().setIncludeSubFolders(false)
.setPrefix("Invoice");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: doesn't need a new line

@samvaity samvaity merged commit cd6d3fe into Azure:master May 14, 2020
@samvaity samvaity deleted the formtraining-client-updates branch September 17, 2020 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants