Skip to content

Repository files navigation

LLM Prompt Engineering & Evaluation Toolkit

Python LLM Status

Benchmark 5 prompt strategies (zero-shot, CoT, few-shot, role-based, structured output) against a weighted rubric. Produces JSONL annotations for LLM training pipelines. Project Structure

DS7_LLMPromptEval__config.py          ← Rubric weights, strategies, task
DS7_LLMPromptEval__prompt_library.py  ← 5 production prompt templates
DS7_LLMPromptEval__rubric.py          ← Weighted rubric scorer (0–100%)
DS7_LLMPromptEval__evaluator.py       ← Benchmark all strategies
DS7_LLMPromptEval__annotator.py       ← JSONL annotation producer
DS7_LLMPromptEval__dashboard.py       ← Bar chart + radar comparison
DS7_LLMPromptEval__main.py            ← Entry point
DS7_LLMPromptEval__requirements.txt

Run

pip install -r DS7_LLMPromptEval__requirements.txt
python DS7_LLMPromptEval__main.py

Results

Strategy Score Grade

Chain of Thought ~88% A

Few-shot ~85% A

Role-based ~82% B

Structured Output ~80% B

Zero-shot ~68% C

About

Benchmarks 5 prompt strategies (zero-shot, CoT, few-shot, role-based, structured output) against a weighted rubric. Produces JSONL annotations for LLM training. Python · NLP

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages