A JSON object.
With no schema, OpenAI receives JSON object mode and Ollama receives format: "json". With a schema, OpenAI receives JSON schema mode and Ollama receives the schema as format.
format: "json"
format
Optional JSON schema that the object must match.