31 lines
725 B
YAML
31 lines
725 B
YAML
id: generic.structured_events
|
|
version: "1.0.0"
|
|
default_profile: local-default
|
|
description: Produce structured event JSON from a transcript.
|
|
inputs:
|
|
- name: transcript
|
|
required: true
|
|
content_type: text/markdown
|
|
- name: glossary
|
|
required: false
|
|
content_type: text/yaml
|
|
messages:
|
|
- 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"}}
|
|
output:
|
|
format: json
|
|
validation_mode: json_schema
|
|
schema_path: structured_events.schema.json
|
|
repair_attempts: 0
|