From the course: Process Documents with Azure AI Document Intelligence
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Custom models via REST API and Python SDK
From the course: Process Documents with Azure AI Document Intelligence
Custom models via REST API and Python SDK
- [Instructor] Accessing your custom model via API and Python follow the same process as the other models we have discussed in previous videos. Let us access your custom model via the API using Postman. We copied the modelId we used in the studio and paste it over to Postman. Make sure as well that the endpoint and API key are properly set. We will use the same Document Models - Analyze Document post method used in previous videos. Recall that the endpoint and model ID is set in the request URL while the API key is set in the header section. We then set the test document location in the body section of the post method and click Send. You'll get a request ID that you'll need to copy and set in our environment variables. We'll then use the same Get Analyze method that was used in previous videos. You'll see in the results the JSON output, which contains the analyzeResult object. The analyzeResult object would contain a pages, tables, styles, and documents collection. The documents…
Contents
-
-
-
-
-
-
(Locked)
Custom model definition4m 35s
-
(Locked)
Setup a custom model via Document Intelligence Studio8m 41s
-
(Locked)
Custom models via REST API and Python SDK3m 42s
-
(Locked)
Composed model definition5m 52s
-
(Locked)
Custom classification models definition9m 10s
-
(Locked)
Challenge: Creating a custom model2m 13s
-
(Locked)
Solution: Creating a custom model3m 15s
-
(Locked)
-
-