Goldziher/prompt-template
Flexible and lightweight library for creating prompt templates
This is a tool for developers who work with large language models (LLMs) to create and manage their prompt templates. It helps you build flexible text or JSON prompts by taking in plain text or structured data with placeholders and outputting a complete, ready-to-use prompt. An LLM engineer, data scientist, or anyone building applications powered by LLMs would find this useful.
Available on PyPI.
Use this if you need a robust, validated, and easy-to-manage way to construct prompts for large language models, especially when dealing with complex structures like JSON or nested values.
Not ideal if you are looking for a high-level orchestration framework for LLM calls, or if you only need very basic string formatting without validation or default value management.
Stars
23
Forks
2
Language
Python
License
MIT
Category
Last pushed
Dec 12, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/Goldziher/prompt-template"
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...
masci/banks
LLM prompt language based on Jinja. Banks provides tools and functions to build prompts text and...
character-ai/prompt-poet
Streamlines and simplifies prompt design for both developers and non-technical users with a low...
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...