Add example profiles, schemas, and an end-to-end local fixture

This commit is contained in:
2026-05-04 21:23:48 -05:00
parent eac6b69217
commit 328703df36
8 changed files with 319 additions and 12 deletions

View File

@@ -0,0 +1,31 @@
id: generic.structured_events
version: "1.0.0"
description: Produce structured event JSON from a transcript.
expected_inputs:
- transcript
- glossary
templates:
- role: system
content: |
Return only JSON following the requested schema.
Do not include commentary.
- role: user
content: |
Extract important events from the transcript and emit JSON.
Transcript:
{{input "transcript"}}
Glossary:
{{input "glossary"}}
model_defaults:
endpoint: http://localhost:8000/v1
model: gpt-4o-mini
temperature: 0.0
max_tokens: 500
output_format: json
validation:
format: json
validation_mode: json_schema
schema_path: structured_events.schema.json
repair_attempts: 0