Forum Discussion

SOE_Tech's avatar
SOE_Tech
Brass Contributor
Sep 05, 2022

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_Tech's avatar
    SOE_Tech
    Brass Contributor
    I 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_Fulan's avatar
      Mario_Fulan
      Iron Contributor
      This 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_Tech's avatar
        SOE_Tech
        Brass Contributor
        Well 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 ^^'

Resources