PromptGuru

Modular prompt engineering library for BERT, Mistral, LLaMA, and FLAN-T5 using YAML templates. Includes modes like ELI5, DevMode, Refine, Classification, and QA.

Why

Install (Local Dev)

pip install PyYAML

For now, clone or copy this repo. PyPI packaging steps are included below.

Usage

from promptguru.engine import PromptEngine

engine = PromptEngine(model_type="mistral", mode="eli5")
prompt = engine.generate_prompt("What is quantum entanglement?")
print(prompt)

Templates

Templates live in promptguru/templates/:

Roadmap

License

Apache 2.0