Skip to main content

Prompt System

The prompt system keeps reusable prompts in one central location, as Markdown files with Jinja2 templating.

Core Concepts​

ConceptPurpose
Prompt StoreCentral Markdown files that contain prompts
Prompt TagsThe {prompt Name}...{end_prompt} delimiters
Template Variables{{ source.field }}, {{ seed.data }}
Dynamic DispatchTools select the prompt or the schema at runtime
Cache Points{% cache_point %} marks the end of a long part that many records share

Learn More​

  • Prompt Store - {prompt}...{end_prompt} syntax and organization
  • Dynamic Dispatch - dispatch_task() for runtime prompt and schema selection
  • Prompt Caching - enable_prompt_caching and {% cache_point %} for Anthropic actions