News for hackers. Stuff that matters.
Re:I'm sorry but I cannot fulfill this request it goes again... by whamlastxmas on Friday January 12, 2024 @01:52PM (#38972243)
I would just make it respond ONLY in JSON and if it's non-compliant formatting then don't use it. I doubt it'd apologize in JSON format. A quick test just now seems to work
Re:I'm sorry but I cannot fulfill this request it goes again... by gs17 on Friday January 12, 2024 @02:24PM (#38972682)
If you're using the API's JSON mode, it will apologize in JSON. If you prompt asking for JSON not in that mode, it should work like you're thinking.
Re:I'm sorry but I cannot fulfill this request it goes again... by tester457 on Friday January 12, 2024 @04:26PM (#38974334)
I would use function calling instead to return a boolean and throw away anything that isn't a bool.
Re:I'm sorry but I cannot fulfill this request it goes again... by andybak on Friday January 12, 2024 @03:55PM (#38973900)
Ask the API to return escaped JSON or any other specific format. An apology or refusal won't be encoded.