dotprompt_dart library

A library for working with .prompt files that contain structured prompts for LLMs.

DotPrompt allows loading, parsing, and rendering prompt templates with variables using a simple format that includes YAML front matter for metadata and a Mustache template for the prompt content.

Classes

DotPrompt
The main class for working with .prompt files.

Exceptions / Errors

ValidationException
Exception thrown when input data fails schema validation.