dottxt-ai/prompts
A prompting library
Uses Python decorators to convert function docstrings into Jinja2 templates, enabling dynamic prompt generation through a `@template` decorator that renders parameterized templates. The approach treats prompts as first-class functions, allowing composition of reusable prompt components with variable injection for few-shot examples, instructions, and queries.
192 stars. No commits in the last 6 months.
Stars
192
Forks
16
Language
Python
License
Apache-2.0
Category
Last pushed
Jul 01, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/dottxt-ai/prompts"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
promptslab/Promptify
Prompt Engineering | Prompt Versioning | Use GPT or other prompt based models to get structured...
character-ai/prompt-poet
Streamlines and simplifies prompt design for both developers and non-technical users with a low...
masci/banks
LLM prompt language based on Jinja. Banks provides tools and functions to build prompts text and...
promplate/partial-json-parser
Parse partial JSON generated by LLM
Hunyuan-PromptEnhancer/PromptEnhancer
PromptEnhancer is a prompt-rewriting tool, refining prompts into clearer, structured versions...