Skip to main content

Module prompts

Module prompts 

Source
Expand description

§Bundled Prompt Management

This module manages the standard prompts bundled into the Chant binary. All prompts are embedded at compile time using include_str! and can be written to the .chant/prompts/ directory during project initialization.

Structs§

PromptMetadata
Metadata about a bundled prompt

Constants§

MERGE_CONFLICT
Merge conflict prompt - for resolving git merge conflicts
OLLAMA
Ollama prompt - optimized prompt for local LLM execution
SPLIT
Split prompt - for splitting driver specs into member specs
STANDARD
Standard execution prompt - default prompt for spec execution
VERIFY
Verify prompt - for verifying acceptance criteria are met

Functions§

all_bundled_prompts
Returns all bundled prompts with their metadata
get_prompt
Get a prompt by name