Add example profiles, schemas, and an end-to-end local fixture
This commit is contained in:
31
profiles/generic.structured_events.yaml
Normal file
31
profiles/generic.structured_events.yaml
Normal 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
|
||||
Reference in New Issue
Block a user