How to use key value pairs in prebuilt invoice model

Bhanu Prakash 0 Reputation points
2024-11-11T09:19:07.5433333+00:00

I am currently working on a prebuilt model in Document Intelligence. For certain fields, particularly the part number field, the model's performance is not satisfactory. To improve accuracy for this field, I would like to use key-value pairs. However, I am unable to find relevant code or documentation on implementing key-value pairs with Document Intelligence. Could you please assist with this?

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
2,111 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pavankumar Purilla 8,570 Reputation points Microsoft External Staff Moderator
    2024-11-11T17:35:47.13+00:00

    Hi Bhanu Prakash
    Greetings & Welcome to the Microsoft Q&A forum! Thank you for posting your query!

    I understand that you are facing an issue with the prebuilt model in Document Intelligence where the performance for extracting certain fields, particularly the part number field, is not satisfactory.

    To improve the accuracy of the extraction for this field, I recommend leveraging key-value pairs.
    You can refer to the official key-value pair code sample for prebuilt models for guidance.

    If key-value extraction still doesn't yield the desired results for the part number field, you may want to consider training a custom model. A custom model can be tailored specifically to the structure and format of your invoices, allowing for more accurate extraction of fields like the part number.
    For information on custom models, please refer to the official code samples for custom models.

    If you continue to experience difficulties, please feel free to reach out and will escalate the issue to the appropriate team to ensure it is resolved promptly.

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.