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

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