News for hackers. Stuff that matters.
Re:Bard generates clean JSON only if you threaten to take a ... by Crash0v3rid3 on Tuesday May 16, 2023 @12:41PM (#35964342)
The title needs to be updated.

The person simply wanted the JSON outputted without the canned response "Sure, here you go..."

Re:Bard generates clean JSON only if you threaten to take a ... by notyourwork on Tuesday May 16, 2023 @12:46PM (#35964420)
Right, so OP wants to treat Bard as an API. I don't dispute the thought, though it does run counter to conversational models. I'm slightly anxious about all the rogue conversational text parsing to use LLM's as an API.
Re:Bard generates clean JSON only if you threaten to take a ... by throwuwu on Tuesday May 16, 2023 @12:53PM (#35964554)
The only reason they’re having a problem is due to the way they’re requesting this. OpenAI’s GPT can follow schemas for responses and issue commands or API requests if you tell it how. I’m sure Bard can do the same with the right request structure.