Interface JsonSchemaDefinition.Builder

  • Method Details

    • schema

      The JSON schema to constrain the model's output. For more information, see JSON Schema Reference.

      Parameters:
      schema - The JSON schema to constrain the model's output. For more information, see JSON Schema Reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the JSON schema.

      Parameters:
      name - The name of the JSON schema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      JsonSchemaDefinition.Builder description(String description)

      A description of the JSON schema.

      Parameters:
      description - A description of the JSON schema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.