how on earth I'm getting a could not parse JSON error with an AI task?
I see the AI responded in the logs but it's giving me the error
Cognitive - AI Task failed: Could not parse JSON output
Cognitive - AI Task failed: Could not parse JSON output
[Error, Could not parse JSON output]
{ input: '"2024-05-31 14:00"',
response:
{ success: true,
cached: false,
spend: 1200000,
result: [ 'extract_from_output("Here is your appointment list:\
\
Your appointments:\
\
1. 2024-05-31 14:00")' ],
function_call: undefined,
choices:
[ { index: 0,
message:
{ role: 'assistant',
content: 'extract_from_output("Here is your appointment list:\
\
Your appointments:\
\
1. 2024-05-31 14:00")' },
logprobs: null,
finish_reason: 'stop' } ],
tokens: 178,
model: 'gpt-4o-2024-05-13' } }
{"scope":"dm"}