Migrate repo fixtures to separated prompts/ and execution profiles/ with file-backed prompt templates
This commit is contained in:
15
README.md
15
README.md
@@ -51,13 +51,14 @@ go test ./...
|
||||
|
||||
Required flags:
|
||||
|
||||
- `--prompt-dir`
|
||||
- `--profile-dir`
|
||||
- `--prompt-id`
|
||||
- `--prompt`
|
||||
- `--input` (repeatable `name=path`)
|
||||
|
||||
Common optional flags:
|
||||
|
||||
- `--profile-id` (execution profile selector; falls back to prompt `default_profile`)
|
||||
- `--profile` (execution profile selector; falls back to prompt `default_profile`)
|
||||
- `--var` (repeatable `name=value`)
|
||||
- `--out`
|
||||
- `--llm-base-url`
|
||||
@@ -76,9 +77,10 @@ Example:
|
||||
export SCRIPTORIUM_API_KEY="your-key"
|
||||
|
||||
go run ./cmd/scriptorium run \
|
||||
--prompt-dir ./prompts \
|
||||
--profile-dir ./profiles \
|
||||
--prompt-id generic.markdown_summary \
|
||||
--profile-id local-default \
|
||||
--prompt generic.markdown_summary \
|
||||
--profile local-fast \
|
||||
--input transcript=./examples/fixtures/transcript.md \
|
||||
--input glossary=./examples/fixtures/glossary.yml \
|
||||
--llm-base-url http://localhost:8000/v1 \
|
||||
@@ -99,8 +101,8 @@ Starts HTTP API.
|
||||
|
||||
Required flags:
|
||||
|
||||
- `--prompt-dir`
|
||||
- `--profile-dir`
|
||||
- `--llm-base-url`
|
||||
|
||||
Common optional flags:
|
||||
|
||||
@@ -267,7 +269,8 @@ Validation content failures are returned in the structured result; raw model out
|
||||
|
||||
## Examples
|
||||
|
||||
- Prompt definitions: `profiles/`
|
||||
- Prompt definitions: `prompts/`
|
||||
- Execution profiles: `profiles/`
|
||||
- Schemas: `schemas/`
|
||||
- Fixtures: `examples/fixtures/`
|
||||
- Local experimentation: `local-test/`
|
||||
|
||||
Reference in New Issue
Block a user