Files
docker-agent/examples/structured-output.yaml
Arnaud Héritier d11fbf1a91 chore(examples): bump stale model references to current-generation values
Bumps model IDs across examples/*.yaml (and the gopher.hcl sibling) to the
current-generation anchors: Claude Sonnet 5 / Opus 5 (with Sonnet 4.6 / Opus
4.8 kept where a key signals a cheaper/fallback tier), GPT-5.6-sol/-terra,
Gemini 3.8 Flash, Grok 4.5, Kimi K3, and Llama 4 Maverick on OpenRouter.

Refs #4137.
2026-09-03 08:38:54 +00:00

44 lines
1.2 KiB
YAML

models:
gpt4_structured:
provider: openai
model: gpt-5.6-sol
temperature: 0.7
max_tokens: 1000
agents:
root:
model: gpt4_structured
description: "Agent that extracts structured information about people"
instruction: |
You are an assistant that extracts structured information about people from conversations.
Always respond with valid JSON matching the specified schema.
commands:
demo: My name is John Doe, I am 30 years old, my email is john.doe@example.com, and I enjoy hiking and photography.
structured_output:
name: "person_info"
description: "Information about a person"
strict: true
schema:
type: object
properties:
name:
type: string
description: "The person's full name"
age:
type: integer
description: "The person's age"
email:
type: string
description: "The person's email address"
hobbies:
type: array
items:
type: string
description: "List of the person's hobbies"
required:
- name
- age
- email
- hobbies
additionalProperties: false