Gen AI DU Extraction

Dear Forum Members,

I am using the Extract Document Data activity to extract the data from the document based on the given the prompts.

I am extracting some values like Purchase order number, Vendor Name and the table line items.

Po no and Vendor name coming as a string that’s fine but for the table line items also I am getting the data in string.

I need the table data in data table, how I can get that.

Below is the prompts and sample input data -

PO : “What is the value of Purchase Order?”
Vendor Name : “What is the Vendor Name?”
Line Items :“From the table find each row for only : Material No., Qty per Box, Lot Exp. Date”

I am getting the Line Items data as - Line Items : 10445533, 27,500, 03/20/2026; 10445534, 20,600, 03/20/2026",

@YankitSingh

Welcome to the community

you need to group the fields and then add thems eparately mention about the group and the fields in the prompt properly..please try to refine your prompt based on the below best practice

cheers

Hi @Anil_G ,

Thanks for your response.

The documents you shared is for IXP, but I am not using the IXP, I am using the Extract Document Data activity with Generative Predefined projects. And in this activity we have the option to pass Field Name and instruction only.

How I can create the tables and groups here?

Thanks

1 Like

@YankitSingh

Got you. Generative extractor would not work for tables

only IXP has the feature currently with prompt

cheers