← all repositories

character-ai/prompt-poet

A Python library for creating structured, dynamic prompts for LLMs using YAML and Jinja2 templating.

1.1k stars Python LLMOps · EvalLanguage Models
prompt-poet
Velocity · 7d
+1.7
★ / day
Trend
steady
star history

Prompt Poet is a low-code prompt design library that streamlines prompt creation for developers and non-technical users. It combines YAML for structured prompt definitions with Jinja2 for dynamic variable rendering and control flow. The library processes templates in two stages: first rendering Jinja2 variables and logic, then parsing the output as structured YAML messages. It integrates with LangChain to pass rendered prompts directly to chat models like GPT-4o-mini.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.