Data Manager - How to create Boolean Fields for Annotation?

Hi Developers,

I’m trying to create a dataset with N no. of Form Documents on Data Manager, It needs to be trained in AI Fabric as a new custom ML Model.

I’m facing an issue while creating fields where some fields are needed to be Boolean (Eg. X, V in checkboxes)

AcroRd32_Wl8cGn7wRU

How to create fields for this kind of inputs? If there is another way to handle these issues?

@loginerror @Lahiru.Fernando @Alexandru-Luca @Palaniyappan

Hello @Kesavaraj_K!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

Hi @Kesavaraj_K!

The Document Understanding ML model doesn’t yet have checkbox/radio-button support. That’s why there’s no boolean option in Data Manager either.

The good news is that this functionality is coming very soon to community preview.

Regards,
Alex.

Hi @Alexandru-Luca,

Thanks for the update!

Is there any alternative way to get the results unless using boolean variables in this scenario?

I tried using a hybrid model of Form and ML Extraction with All boolean variables towards Form Extraction. Didn’t quite capture the fields very well :sweat_smile:

Thanks in Advance!

Regards,
Kesavaraj

Actually, there is a way! The product team was very busy during the holidays, thus you can extract the data using ML.

The way to go (at the moment) is to create a string field in DataManager for each checkbox and tag the label of the checkbox (not the box itself). Of course, you tag the label when the box is checked or leave it untagged otherwise. It is very important that you use a well-balanced data-set, where each checkbox is represented roughly the same number of times. Otherwise the results won’t be great.

Cheers,
Alex.

Thanks @Alexandru-Luca

I’ll try this method out and update!

Regards,
Kesavaraj

Hi,
@Kesavaraj_K Any update on results?

@Alexandru-Luca Can you specify any further details regarding release dates for this (both community and enterprise). Working with a client where this functionality is needed, and would be great if we could give a response on when this functionality is supported.
Is there somewhere i can find whats in the pipeline for AI-Fabric/DataManager/Document Understanding upcoming features and dates?

Thanks!

Best regards,
Sebastian

Hi @sebastian.andre for now there is no Boolean field feature in our roadmap because the same result can already be obtained in the way described by Alexandru Luca above on this thread. Just label the options which are selected and do not label the options which are not selected. Then the model will learn to extract only options which are selected. Like in this case: “1 unit” and “PUD”.

In the case of this image, you would need 8 String type fields. For each field the model will either return something or it will return nothing. For instance you may have a field called 1-unit. Then when this field is returned with value “1 unit” then that means this option was selected. When the field is empty, then that means the option was not selected.

The improvement which we are planning by end of April timeframe is to have multi-valued fields, which means instead of having 8 String type fields here you would have a single multi-valued String type field, which would return a list of values. In this case this list would have 2 values: [“1 unit”, “PUD”]. The Intelligent OCR framework allows for this kind of multivalued fields.

Cheers,
Alex.

Thank you Alexandru for the input.
So if I understand correctly you never have to mark the checkbox itself, but only the text corresponding to the checkbox (when checkbox selected)?
I will try out method.

Is it possible to do the other way around, i.e only mark the corresponding textfields when the checkbox IsNot selected. In this scenario you know that if the text return something the checkbox is not selected, and if the text returns Nothing, the checkbox Is selected?

Best regards,
Sebastian

@sebastian.andre you are right, you can also do it that way.

Best,
Alex.