Forum Discussion
SOE_Tech
Sep 05, 2022Brass Contributor
Sharepoint Syntex - Take specific line
Hello everyone,
i currently try to extract infos from our invoices but struggle with the name of the customer.
The name is always in the second row and the full second row. However i cant find an option that says "take line 2 and extract that". The line before this always ends with the town we are in
e.g.
Company name - 123456 Funkytown
Michael B. Smith
...
So in this case the AI will extract only "Michael B."
Do you have any idea on how i could extract the whole name? Is there a way to "retrain" the program to make it realize to "jump over" the "dots" and "&"? and such?
Greetings
- SOE_TechBrass ContributorI would like to elaborate on the question a bit.
It would also be great if i can say "amongst other possible results please use Michael B. Smith, Jordan C. Kepler or John T. Miller) as these names will appear quite often in the contracts".
Is that possible as well?- Mario_FulanIron ContributorThis is a tough one because the format of a name can vary so much. For example, Michael B. Smith or M.B. Smith or Mike Smith ...
If there any consistency to the line(s) that follow the name. If so, you can use an "after label" evaluation. If not, is this a good fit for AI Builder?- SOE_TechBrass ContributorWell the phrase after is also defined - yet the program stops at the first form of punctuation (. , &) or after 2 "words" e.g. "Company Coca" instead of "Company Coca Cola".
I was however unable to figure out how to say "take the whole line as company name" instead of just "two words" that generally get returned.
Since I am also unable to "re-adjust" the model properly i am kinda at a lost there ^^'