thanks for reply. so i already have the data structure. here's what im passing to the creation of the assitant.
analysisPlan: {
structuredDataPlan: {
enabled: true,
schema: {
type: "array",
items: {
type: "object",
properties: {
productName: { type: "string", description: "name of the product of each line item for the order"},
quantity: { type: "number", description: "The quantity of each line item for the order"},
}
},
description: "string"
},
timeoutSeconds: 1
}
},
I've experimented with a few versions as well as a better 'structured analysis prompt' but it's very inconsistent with how it generates it. I was thinking if it's just going through logs to make the json, i could just using GPT-4 directly to do it. thoughts? @User