Make JSON output more likely

Hump? You can be explicit in your instructions:


// AI Response from assistant

MANDATORY: Every single response produced after the "assistant" prompt must begin with the exact characters shown within the single-quotes: '{"function_name": "'

MANDATORY: Every single response then continues with valid JSON output complying to the included JSON schema, and will be validated, allowing no deviation.

Note: There is no user to communicate with directly. AI JSON output response is provided directly to an external API interface backend.

// JSON Schema for assistant response

(real json schema as you’d validate AI output with…)


Also, JSON can be an array starting with [