Calling Azure AI Document Intelligence using the REST API

Поділитися
Вставка
  • Опубліковано 1 чер 2024
  • Azure AI Document Intelligence can read images and PDF scans of forms, extracting data for later use in data solutions. While various language SDKs are available, it's also possible to call these services directly using the REST API. This tutorial walks through the REST API process.
    For links to source code and similar articles, visit the blog version of this post:
    robkerr.ai/azure-ai-document-...
  • Наука та технологія

КОМЕНТАРІ • 16

  • @fredlaxTalenz
    @fredlaxTalenz 11 днів тому

    As I am very new to Microsoft universe, I was trying to do it the hard way. With your guide I saved several days of pain !! many many thanks !!

  • @kathleenomollo7357
    @kathleenomollo7357 2 місяці тому

    This was so helpful. The step by step guide helped me solve an issue that has stumped our developers for weeks. This was the breakthrough I needed.

  • @agentDueDiligence
    @agentDueDiligence 3 місяці тому

    Hey Rob!
    Thanks for the introduction.
    I have made some really great experiences with the layout API usage. This document AI service is kind of groundbreaking in my opinion. It didn’t really hit mainstream yet really.
    What is your take on the model?

    • @robkerrai
      @robkerrai  3 місяці тому +1

      These models are most commonly part of enterprise deployments, and don't get a lot of PR coverage. Microsoft published a case study where Volvo uses Doc Intel to speed processing of supply chain documents you can probably find via a web search. These types of models can make a lot of impact on cost savings.

  • @DBBBB
    @DBBBB 4 місяці тому

    Rob, David here, Developer here from Australia. Thanks for the great video. Exactly what I needed.
    I have an encoded Bas64 file ready to go, an attachment extracted from Outlook Exchange, so it makes a lot more sense to send that Base64 string directly, rather than store the file to a disk then pass its location.
    All microsoft documentation shows examples of passing a string to the documents location. This doesn't make much sense to me, since we are using a REST API rather than an SDK, and the service most likely will not have access to the file location.
    Ps. Subbed and notified. In just 20 videos on your channel, you have provided so much great content in this space. Please keep making videos! If you make courses anywhere, I would also happily buy. Great stuff.

    • @robkerrai
      @robkerrai  3 місяці тому

      Glad the videos are helpful! The feedback is encouraging.
      In your scenario I tend to agree, you probably don't have a good way to give AzureAI access to your data via a URL since it's the content of an email. You're right that the examples usually give a URL that's publicly available on the Internet (not very likely in an enterprise scenario).
      However the passed URL approach could work in an enterprise solution if, for example, you had a file in Azure Blob store and generated a short-lived SAS token to append to the URL passed to AI Services. I prefer Base64 for "small" input payloads, but I would go for a SAS token if the input file was large to reduce the size of the request to Azure.

  • @MegaNatsirt
    @MegaNatsirt 2 місяці тому +1

    you the real mwp in ocr

  • @baklava2tummy
    @baklava2tummy 3 місяці тому

    Thanks, this has been really useful. One issue I found was that the model was showing as ‘resource not found’ on the initial post request. I had to change the ‘project settings’ to ‘endpoint and key’ and then create a new model. Not sure if I had done something wrong but maybe other people have been puzzled by this too! Thanks again for the video, really helpful!

  • @akshay7450
    @akshay7450 24 дні тому

    Hey Rob, this was really helpful. I was looking to apply information from a form like this onto a prebuilt data entry tool with certain sections for each of the matching sections on the form. Would this be possible?Could you possibly make a video on this? Thanks

    • @robkerrai
      @robkerrai  17 днів тому

      You can use Azure AI to train a custom model for your own forms. I'd like to make a video about this in the future so stay tuned!

  • @spectraphantom9433
    @spectraphantom9433 2 місяці тому

    Thank you for this tutorial, sir!

    • @robkerrai
      @robkerrai  Місяць тому

      Glad it was helpful!

  • @deeptinirwal9672
    @deeptinirwal9672 Місяць тому

    Nice video