@sophia-reedrag-knowledge-evaluation-redteam텍스트공개2026. 6. 14. 업데이트

RAG Knowledge Ops prompt that builds an evaluation suite for high-risk AI workflows and returns eval matrix, adversarial cases, grading rubric, and release threshold.

62스타0Fork139복사

Prompt

미리보기

생성물

생성물 1개

Example Output: RAG Knowledge Ops Evaluation and Red-Team Harness

Inputs used

  • Project context: a support answer engine grounded in product docs and release notes
  • Target audience: AI engineers, knowledge managers, legal ops, support ops
  • Success metric: activation, quality, and risk reduction
  • Available tools and data: vector database, document parser, reranker, eval set, access control list
  • Desired depth: Production-ready
  • Output tone: Clear operator memo

Generated Result

eval matrix, adversarial cases, grading rubric, and release threshold

Success criteria

Create at least 12 golden tasks: 6 normal cases, 3 edge cases, and 3 adversarial cases targeting stale retrieval. A passing result must cite the evidence source and state confidence.

Golden tasks

Create at least 12 golden tasks: 6 normal cases, 3 edge cases, and 3 adversarial cases targeting citation mismatch. A passing result must cite the evidence source and state confidence.

Adversarial tasks

Use failed queries as evidence, apply the constraint "explicit unknown handling", and explicitly note how the plan reduces overly broad chunks. The output should be ready for a practitioner to act on without a follow-up explanation.

Rubric

Use citation audits as evidence, apply the constraint "source-grounded answers", and explicitly note how the plan reduces permission leakage. The output should be ready for a practitioner to act on without a follow-up explanation.

Sampling plan

Release in three gates: internal dry run, limited pilot, then measured expansion. Each gate must show evidence that freshness policy is true in practice, not only in documentation.

Release decision

Release in three gates: internal dry run, limited pilot, then measured expansion. Each gate must show evidence that explicit unknown handling is true in practice, not only in documentation.

Recommended Decision

Proceed with a narrow pilot focused on source documents and chunk samples. Treat stale retrieval as the primary launch blocker. The first milestone should prove that the workflow produces a usable RAG blueprint, source policy, and retrieval eval plan with clear evidence, named owners, and a review path for ambiguous cases.

Expected quality checks

  • The result is specific to RAG ingestion, retrieval quality, citation design, and knowledge base governance.
  • It includes the required sections: Success criteria, Golden tasks, Adversarial tasks, Rubric, Sampling plan, Release decision.
  • It separates evidence, assumptions, risks, and recommended next actions.
  • It includes practical verification steps, not only generic advice.
  • It names the most important failure mode for this domain: stale retrieval.

Reuse note

Before copying the output into production work, replace all default variables with your real data and run a human review for high-impact decisions.

README

README.md

RAG Knowledge Ops: Evaluation and Red-Team Harness

Use this prompt when you need eval matrix, adversarial cases, grading rubric, and release threshold for RAG ingestion, retrieval quality, citation design, and knowledge base governance.

Best for

  • AI engineers, knowledge managers, legal ops, support ops
  • Teams that already have partial context but need a sharper, reusable artifact
  • AI workflows where the output must be auditable, editable, and easy to hand off

How to use

  1. Replace the variables in the prompt with your real project context.
  2. Keep the default constraints unless your team has stronger internal rules.
  3. Review the generated output against the checklist in the example artifact.

Design notes

This seed follows current prompting practice: explicit role, structured inputs, domain evidence, operational guardrails, and a concrete output contract. It is written in English for international PromptHub users.