32 lines
728 B
YAML
32 lines
728 B
YAML
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
|