Hi, Has there been any progress on getting back a JSON response from Gemini, either from a plugin or by post processing the “text” json response.
My use case is sending a document into gemini with a prompt. Gemini appears to give us a better analysis than Claude, but it is frustrating trying to find out how to get Bubble to process the JSON as its full of escaped characters etc etc. We are clearly getting the consistent JSON style we want, but ```JSON {/"/n rubbish in it!!
I just wondered whether there was a simple solution built into any plugins now.
Thanks, I am starting to win! Find and Replace works. Also managed to get the output into an object using a bubble API.
Main problem at the moment is trying to get a consistent output. Despite telling it the exact JSON format of the output, it still decides to sometimes put the JSON object defined as a sub object of the question number!!!
i.e {“Question Number”:#100,“Answer”:“This is the Answer”}
it sometimes does this
{#100:{“Question Number”:#100,“Answer”:“This is the Answer”}}
Which is a right pain in the arse!!!
Just working on telling it specifically not to do that to see if it will help.