scriptorium

module
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: BSD-3-Clause

README

Scriptorium

Scriptorium is a prompt-execution application with a command-line interface and an HTTP service. It prepares prompt requests, runs them against OpenAI-compatible model endpoints, and returns generated output with validation metadata.

The application uses Promptkit v0.1.0 for prompt, profile, schema, preparation, generation, and validation behavior. Scriptorium owns executable configuration, CLI and HTTP mapping, process behavior, output presentation, and HTTP artifact-containment policy.

Quickstart

From the repository root:

go run ./cmd/scriptorium render \
  --config ./examples/config.yml \
  --prompt generic.markdown_summary \
  --input transcript=./examples/fixtures/transcript.md \
  --input glossary=./examples/fixtures/glossary.yml \
  --format json

This renders the prepared prompt and effective runtime settings without calling a model. For complete invocation and output behavior, see the CLI reference.

Documentation

Examples

Directories

Path Synopsis
cmd
scriptorium command
internal
format
Package format formats already-prepared public data for adapters.
Package format formats already-prepared public data for adapters.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL