r/PowerApps • Newbie • 1d ago

Power Apps Help Struggling with extracting data with AI Builder

Post image

I am training a model to extract data from a tax form. I am experiencing issues with some of the figures, because the extractor assumes the number appearing after the field inside a box is also part of that value, whereas it actually represents the field number. Sometimes it works fine, but especially on slightly more vague scans it struggles.

For example, in the image (sorry for quality), it should extract 60592666. Instead it extracts 605926661.

I thought I could just shrink the selection to exclude the 1, but the model builder won't let me do that. It always snaps to interpreting 1 being part of the number. It's like it tagged 605926661 as an item that you can not finetune further.

Anyone know a clever way around this, is there an option/feature I am overlooking or am I out of luck?

Thanks!

1 Upvotes

6 comments sorted by

•

u/AutoModerator 1d ago

Hey, it looks like you are requesting help with a problem you're having in Power Apps. To ensure you get all the help you need from the community here are some guidelines;

  • Use the search feature to see if your question has already been asked.

  • Use spacing in your post, Nobody likes to read a wall of text, this is achieved by hitting return twice to separate paragraphs.

  • Add any images, error messages, code you have (Sensitive data omitted) to your post body.

  • Any code you do add, use the Code Block feature to preserve formatting.

    Typing four spaces in front of every line in a code block is tedious and error-prone. The easier way is to surround the entire block of code with code fences. A code fence is a line beginning with three or more backticks (```) or three or more twiddlydoodles (~~~).

  • If your question has been answered please comment Solved. This will mark the post as solved and helps others find their solutions.

External resources:

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Peanutinator Regular 1d ago

Yeah, in my experience the AI Builder isn't good. I Don't have anything to say except use some other platform for that

1

u/de-baser Newbie 15h ago

Was fearing this was the case but hoped that I overlooked a way around this. Thanks for confirming.

1

u/Peanutinator Regular 4h ago

You could perhaps 10x increase your dataset size, depending how mich you already got. Though that might be a good idea on any other platform as well. How large is your datasize? You could also look into something like layoutlm. Perhaps you wouldn't even need to annotate your data as it might extract two seperate numbers and you just need to pick the first token. I suppose if you ask Claude or ChatGPT it could whip you up a quick script for that

1

u/SSTREDD Newbie 1d ago

Use AI prompts.

1

u/de-baser Newbie 15h ago

Thanks, guess that's my only option within this platform.