Hello everyone, I’m trying to have Glide AI generate a JSON string based on the reading of a transfer receipt.
The instruction I provide is this:
The problem is that, with some receipts, it reads well, but with others, it forms a seemingly broken JSON string, and therefore, when I try to extract each piece of data through a JSON Query column, they stop working.
Malformed JSON generated by the AI.:
Is there something wrong with the instructions I’m providing?
Say for Simon’s use case above, would you consider supporting image as an input for the Text to JSON action/column? I think the only action/column where image is supported is “Complete chat” in OpenAI.
Document to Text pointed to Upload Image (5 Updates)
Text to JSON pointed to Document to Text with all defined objects (1 Update)
1 Query JSON per object pointed to Document to Text to extract the specific information (No Updates)
I tried Image to Text which is only 1 update, but found it less consistent.