Files
promptkit/examples/go-library/run/prompt.yaml

17 lines
430 B
YAML

prompts:
- id: example.run
default_profile: offline-example
description: Run a prompt with a deterministic injected model client.
inputs:
- name: note
required: true
content_type: text/plain
messages:
- role: system
content: Summarize the note in one sentence.
- role: user
content: '{{input "note"}}'
output:
format: text
validation_mode: basic