Definition: Requiring the model to produce output in a specific structure that can be processed by software.

Simply put: Instead of letting the model output whatever text it wants, you tell it to return the result in an exact format.

Examples:

{
  "name": "Hossein",
  "age": 24
}

Or:

{
  "status": "success",
  "error": null
}

Or a fixed format:

title
summary
recommendation

AI Agent My-Journey-In-Codeless

???