-
Notifications
You must be signed in to change notification settings - Fork 5.6k
FormRecognizer: Updating Train API to take optional parameter. #6176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
c30a385
Initial commit.
00e4cf3
Incorporating PR feedback
8dbcee7
Adding examples, cleanup.
90946c6
Fixing json syntax errors.
5812674
Incorporating feedback.
843f2f7
Refactor swagger to common type.
2c78f40
Incorporating feedback.
3840cae
Moved to preview, refactor, fixes.
29ea35b
Updated text.
6efacb5
Minor text change.
292f8ba
More minor text updates.
781f7db
Reverting accidental change
10c7f52
Refactor
e137884
Refactor, Adding GetModels REST API placeholder
3753fc5
Refactor, fixes
5ed88d4
Refactor, Updated definitions.
9864cca
Fix type definition
da9d7d3
model* API endpoint updated
81b6743
Fix build issue, Reverting change to face swagger
4d75131
updated namespace
29e2bc7
Updated return type for /models api
4e65e77
Update FormRecognizer.json
Bastortz2 3ae0d35
Merge pull request #1 from Bastortz2/patch-2
ramparab 4c99141
Refactor, opid changes.
8385975
removing multi as it causing autorest codegen issues with langs like …
9b1f37a
reverting face.json changes.
355ce60
renamed example, fixed typo in example to make it valid json
afc041b
API review feedback, Reverting OpIds
c5ddd4b
API review feedback, fixing examples for model verification
0f9441c
Fixing examples for model validation
6b2d1b2
Capturing feedback from API Review
0c0e7b2
Capturing feedback from API review
96cb967
Fix generated code path, Fix generated SDK class name
9e59952
merging from master
a85c578
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
af8009b
Update title to be used for SDK code generation
fb11a90
Updating help text.
4748bc0
resolving conflict
e588f2f
Update help text.
8b27a4e
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
e8cce48
Update help text.
c73dbf1
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
808aa67
Initial commit.
011ff10
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
2da631e
merging receipts with FR
68cd858
update for receipt
f7634c2
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
4a2ffc9
Receipt merge update
a41344c
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
9fc0310
add receipt ref, update ocr json
0070fb5
fix readme
967a5e8
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
d526807
Fix Receipt swagger title field
abdd49f
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
5f88348
Fixing receipt API verification issues.
9b2e05f
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
a5efc53
fixing build issues
9c2b0e4
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
b93b646
removing empty lines.
e83304c
adding description for understandingResult
abd110f
Adding reference to Ocr swagger.
f346e31
Trimming OCR to remove unreferenced definitions.
bf2cd12
Adding missing definitions.
e6f6927
Fixing build issues.
67e3772
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
ef8d9f6
Adding updated OCR reference.
1dca244
fix version
f2a1c72
fixing typo
6b22120
capturing feedback from API PR review.
7855ba3
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
0bc60ed
Adding optional support for subfolders in source parameter to Train API.
3844f2b
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
790a29b
Adding optional support for subfolders in source parameter to Train API.
jhendrixMSFT 574a694
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
1f7af23
adding example for updated Train API
9c7e661
Merge branch 'master' of https://github.com/ramparab/azure-rest-api-s…
32fa3cb
Minor fix to sawgger, removed merged swagger.
e0c7d24
Minor text fix.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
...ognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/TrainWithSubFolders.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| { | ||
| "parameters": { | ||
| "Endpoint": "{Endpoint}", | ||
| "Content-Type": "application/json", | ||
| "Ocp-Apim-Subscription-Key": "{API key}", | ||
| "body": {}, | ||
| "trainRequest": { | ||
| "source": "/input/data", | ||
| "sourceFilter": { | ||
| "prefix": "", | ||
| "includeSubFolders": false | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "modelId": "ad1901b6-ddaa-4249-8938-3f03f65cc893", | ||
| "trainingDocuments": [ | ||
| { | ||
| "documentName": "0.pdf", | ||
| "pages": 1, | ||
| "errors": [], | ||
| "status": "success" | ||
| }, | ||
| { | ||
| "documentName": "1.pdf", | ||
| "pages": 1, | ||
| "errors": [], | ||
| "status": "success" | ||
| }, | ||
| { | ||
| "documentName": "2.pdf", | ||
| "pages": 1, | ||
| "errors": [], | ||
| "status": "success" | ||
| }, | ||
| { | ||
| "documentName": "3.pdf", | ||
| "pages": 1, | ||
| "errors": [], | ||
| "status": "success" | ||
| }, | ||
| { | ||
| "documentName": "4.pdf", | ||
| "pages": 1, | ||
| "errors": [], | ||
| "status": "success" | ||
| } | ||
| ], | ||
| "errors": [] | ||
| } | ||
| } | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.