home/productivity/prompt-proof-demo-project-support-rag-assistant-v-0

Prompt Proof Demo Project Support Rag Assistant v 0

GPTClaudeDeepSeek··727 copies·updated 2026-07-14
prompt-proof-demo-project-support-rag-assistant-v-0.prompt
# PromptProof — Demo Project: Support & RAG Assistant (v0.1)

> **Purpose:** A compact, realistic LLM application that reliably triggers the failure modes PromptProof is built to catch. You can run it locally, capture fixtures deterministically, and create **red→green** PRs on demand.

---

## 0) TL;DR

- Build a tiny service with **two endpoints**: `POST /support/reply` (support assistant) and `POST /rag/answer` (doc Q&A with citations).
- It uses an LLM (via SDK wrapper) for:
  1. **Support Reply**: free‑text answer + required disclaimer; must avoid PII leaks.
  2. **Extractor** (support sidecar): strict JSON with `status`, `items`, and `confidence`.
  3. **RAG Answer**: must include a **Sources:** section with at least one URL; multilingual (EN/FR) tone & refusals.
  4. **Tool call** demo: schedules a calendar event (start\<end) to show arg validation.
- We record **fixtures** for typical inputs/outputs and **replay** them in CI with `promptproof.yaml` contracts.

**Impactful failures we will demo:** PII leakage, schema drift, missing disclaimers, bogus citations, tool-arg errors, cost/latency budget breaches, multilingual regressions.

---

## 1) Repo Layout (demo app)

when to use it

Community prompt sourced from the open-source GitHub repo geminimir/promptproof-demo-project (no explicit license). A "Prompt Proof Demo Project Support Rag Assistant v 0" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

geminimir/promptproof-demo-project · no explicit license