Build and train a custom generative model with AI Studio

Thaenraj Packiamani 20 Reputation points
2024-08-21T12:24:19.57+00:00

I am building a custom generative model by creating a Document Field Extraction Project in Azure AI Studio. However, I am encountering an error while creating the schema for my document. Are there any limitations on the number of entries that can be defined in the schema?

" Raised Error Description :

InvalidParameter

The parameter Operations is invalid: Number of actions should be between 1 and 50apim-request-id: 51ad8b96-19d4-4d5b-a1b2-5e227f0b0b46"

I apprecate your help.

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

Accepted answer
  1. santoshkc 15,325 Reputation points Microsoft External Staff Moderator
    2024-08-21T16:48:50.7366667+00:00

    Hi @Thaenraj Packiamani,

    Thank you for reaching out to Microsoft Q&A forum!

    Yes, there are limitations on the number of entries in the schema for Document Field Extraction in Azure AI Studio. These include limits on the total number of fields, character count, and schema complexity. Exceeding these can cause errors.

    The error you're encountering indicates that the number of actions in the Operations parameter should be between 1 and 50. This means that your schema likely has more than 50 actions defined, which exceeds the allowed limit. To resolve this issue, you'll need to reduce the number of actions in your schema to 50 or fewer. If you need to handle more actions, consider breaking your schema into multiple parts or simplifying your approach.

    After reproducing the issue, I found that I was able to create the schema without any errors when using a smaller number of entries. It seems that reducing the number of entries in the schema resolves the issue.

    User's image

    I hope you understand. Do let us know if you any further queries.


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

    0 comments No comments

0 additional answers

Sort by: Most 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.