Conversation
| Form content is returned in a collection of `FormPage` objects. | ||
| - Recognizing common fields from US receipts, using a pre-trained receipt model on the Form Recognizer service. | ||
| - [Recognizing common fields from US receipts](#recognize-receipts), using a pre-trained receipt model on the Form Recognizer service. | ||
| These fields and meta-data are returned in a collection of `USReceipt` objects. |
There was a problem hiding this comment.
| These fields and meta-data are returned in a collection of `USReceipt` objects. | |
| These fields and meta-data are returned in a collection of `RecognizedForm` objects. |
| <!-- embedme ./src/samples/java/com/azure/ai/formrecognizer/ReadmeSamples.java#L195-L215 --> | ||
| ```java | ||
| String trainingFilesUrl = "{training_set_SAS_URL}"; | ||
| String trainingFilesUrl = "{<SAS-URL-of-your-form-folder-in-blob-storage>}"; |
There was a problem hiding this comment.
"SAS-URL-of-your-form-folder-" makes me think I need to include the folder name in the url. I think "SAS-URL-of-your-container-in-blob-storage" might make more sense.
| * | ||
| * @return A {@link PollerFlux} that polls the recognize custom form operation until it has completed, has failed, | ||
| * or has been cancelled. The completed operation returns a List of {@link FormPage}. | ||
| * @return A {@link PollerFlux} that polls the recognize layout operation until it has completed, has failed, or has |
There was a problem hiding this comment.
should we say content operation here?
| * @param receiptUrl The URL of the receipt to analyze. | ||
| * | ||
| * @return A {@link PollerFlux} that polls the recognize receipt operation until it has completed, has failed, | ||
| * or has been cancelled. The completed operation returns a List of {@link RecognizedReceipt}. |
There was a problem hiding this comment.
| * or has been cancelled. The completed operation returns a List of {@link RecognizedReceipt}. | |
| * or has been cancelled. The completed operation returns a List of {@link RecognizedForm}. |
There was a problem hiding this comment.
This also happens in other parts of the document
There was a problem hiding this comment.
I still have the receipt design changes in a PR so this will be taken care there - #12380
| * Train a model with labels: [TrainModelWithLabels][train_labeled_model] ([async][train_labeled_model_async]) | ||
| * Manage custom models: [ManageCustomModels][manage_custom_models] ([async][manage_custom_models_async]) | ||
| * Copy a model between Form Recognizer resources: [CopyModel][copy_model] ([async][copy_model_async]) | ||
| * Recognize receipts: [RecognizeReceipts][recognize_receipts] ([RecognizeReceiptsAsync][recognize_receipts_async]) |
There was a problem hiding this comment.
It still looks like the same line. What about making it a table? so sync and async links in different columns?
Or do a subsection or sync and another for async?
| @@ -133,9 +133,9 @@ public final class FormRecognizerAsyncClient { | |||
| * @param length The exact length of the data. Size of the file must be less than 50 MB. | |||
There was a problem hiding this comment.
do you validate the size in the client?
Also, is this constrain from the service?
There was a problem hiding this comment.
We do not validate the size on the client and yes it is a constraint from the service.
There was a problem hiding this comment.
I would prefer deleting this from here then, in case the service decides to change the limitations
| * .tiff type file stream. Content-type is auto-detected and could be {@code null}. | ||
| * | ||
| * @return A {@link PollerFlux} that polls the recognize receipt operation until it has completed, has failed, | ||
| * @return A {@link PollerFlux} that polls the recognize custom form operation until it has completed, has failed, |
| * | ||
| * @return A {@link PollerFlux} that polls the recognize receipt operation until it has completed, has failed, | ||
| * or has been cancelled. The completed operation returns a List of {@link FormPage}. | ||
| * @return A {@link PollerFlux} polls the recognize layout operation until it has completed, has failed, or has |
There was a problem hiding this comment.
any reason we use layout instead of recognized content operation? similar to what Krista said above
|
|
||
| /* | ||
| * Text content of the extracted field. | ||
| * Text content of the extracted line. |
There was a problem hiding this comment.
consider changing to extracted element. it could be a whole line or a single word and eventually it could be the selection in a checkbox element
|
|
||
| /** | ||
| * The text of the extracted item. | ||
| * The text content of the extracted line. |
| * Other type of content is ignored. | ||
| * <p>The service does not support cancellation of the long running operation and returns with an | ||
| * error message indicating absence of cancellation support.</p> | ||
| * See <a href="https://docs.microsoft.com/en-us/azure/cognitive-services/form-recognizer/build-training-data-set#upload-your-training-data">here</a> |
There was a problem hiding this comment.
remove the en-us from the link so that it is set to the user locale
|
|
||
| /** | ||
| * Get account information. | ||
| * Get account information for all custom models on the form recognizer account with an Http response. |
There was a problem hiding this comment.
because it also returns information about the resource itself (like the capacity) I will suggest
| * Get account information for all custom models on the form recognizer account with an Http response. | |
| * Get account information of the form recognizer account with an Http response. |
| * | ||
| * @return A {@link Mono} containing containing status code and HTTP headers | ||
| * @throws NullPointerException If {@code modelId} is {@code null}. | ||
| * @return A {@link Response} containing containing status code and HTTP headers |
There was a problem hiding this comment.
| * @return A {@link Response} containing containing status code and HTTP headers | |
| * @return A {@link Response} containing status code and HTTP headers |
...er/src/samples/java/com/azure/ai/formrecognizer/FormRecognizerClientJavaDocCodeSnippets.java
Show resolved
Hide resolved
...e-ai-formrecognizer/src/main/java/com/azure/ai/formrecognizer/FormRecognizerAsyncClient.java
Outdated
Show resolved
Hide resolved
...c/samples/java/com/azure/ai/formrecognizer/FormRecognizerAsyncClientJavaDocCodeSnippets.java
Outdated
Show resolved
Hide resolved
…zure/ai/formrecognizer/FormRecognizerAsyncClient.java Co-authored-by: Krista Pratico <krpratic@microsoft.com>
…m/azure/ai/formrecognizer/FormRecognizerAsyncClientJavaDocCodeSnippets.java Co-authored-by: Krista Pratico <krpratic@microsoft.com>
|
/azp run java - formrecognizer - ci |
|
Azure Pipelines successfully started running 1 pipeline(s). |
No description provided.