Which client and method should you use?
You have receipts that are accessible from a URL.
You need to extract data from the receipts by using Form Recognizer and the SDK. The solution must use a prebuilt model.
Which client and method should you use?
A . the FormRecognizerClienc client and the ScarcRecognizeConcencFromUri method
B . the FormTrainingClienc client and the ScarcRecognizeContentFromUri method
C . the FormRecognizerClienc client and the ScarcRecognizeReceipcsFromUri method
D . the FormTrainingClient client and the ScarcRecognizeReceipcsFromUri method
Answer: D
Explanation:
To analyze receipts from a URL, use the StartRecognizeReceiptsFromUri method
Example code:
private static async Task AnalyzeReceipt( FormRecognizerClient recognizerClient, string receiptUri)
{
RecognizedFormCollection receipts = await recognizerClient.StartRecognizeReceiptsFromUri(new Uri(receiptUrl)).WaitForCompletionAsync();
Reference: https://docs.microsoft.com/en-us/azure/applied-ai-services/form-recognizer/quickstarts/client-
library
Latest AI-102 Practice Questions with 80 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations