Greetings,
I have been working on creating an Assistant which includes code interpreter to parse a document and pull out the table of elements in JSON format. Even though I give very clear instructions not to leave any elements or rows out, and to always send the JSON only in the final message, the assistant always leaves lines from the table out, usually citing that they are providing an example or they give JSON with sections absent such as the example below.
Has anyone run into this before and, if so, what are the steps to ensure that the assistant is accurate in their parsing and return of data.
{
"quote_table": [
{
"quote_row": 1,
"column_values": [
{"order": 1, "text_value": "SL. NO.", "num_value": null, "comp_designation": 0},
{"order": 2, "text_value": "ITEM DESCRIPTION", "num_value": null, "comp_designation": 0},
{"order": 3, "text_value": "UNITS", "num_value": null, "comp_designation": 0},
{"order": 4, "text_value": "QTY", "num_value": null, "comp_designation": 1},
{"order": 5, "text_value": "UNIT PRICE IN AED", "num_value": null, "comp_designation": 2},
{"order": 6, "text_value": "TOTAL VALUE IN AED", "num_value": null, "comp_designation": 3},
{"order": 7, "text_value": "MAKE", "num_value": null, "comp_designation": 0}
]
},
{
"quote_row": 2,
"column_values": [
{"order": 1, "text_value": "1", "num_value": null, "comp_designation": 0},
{"order": 2, "text_value": "1/2\" ERW MS Black Pipes Acc. ASTM A53 GR.B SCH 40 in 6mtr length", "num_value": null, "comp_designation": 0},
{"order": 3, "text_value": "MTR", "num_value": null, "comp_designation": 0},
{"order": 4, "text_value": "", "num_value": 12, "comp_designation": 1},
{"order": 5, "text_value": "", "num_value": 7.5, "comp_designation": 2},
{"order": 6, "text_value": "", "num_value": 90.00, "comp_designation": 3},
{"order": 7, "text_value": "UAE / GCC", "num_value": null, "comp_designation": 0}
]
},
... (additional quote_row objects representing each row in the table)
{
"quote_row": 16,
"column_values": [
{"order": 1, "text_value": "15", "num_value": null, "comp_designation": 0},
{"order": 2, "text_value": "14\" ERW MS Black Pipes Acc. ASTM A53 GR.B SCH 40 in 6mtr length", "num_value": null, "comp_designation": 0},
{"order": 3, "text_value": "MTR", "num_value": null, "comp_designation": 0},
{"order": 4, "text_value": "", "num_value": 6, "comp_designation": 1},
{"order": 5, "text_value": "", "num_value": 600.00, "comp_designation": 2},
{"order": 6, "text_value": "", "num_value": 3600.00, "comp_designation": 3},
{"order": 7, "text_value": "UAE / GCC", "num_value": null, "comp_designation": 0}
]
}
]
}