Red-teaming deliberately probes models and applications with challenging, manipulative, or harmful inputs to expose errors and vulnerabilities. It strengthens evaluation and becomes especially important for public-facing RAG and LLM systems. section 2.1.7 section 13.0
Operational red-teaming connects testing to the wider ML life cycle:
- Test model sensitivity, robustness, and edge cases alongside ordinary evaluation. section 2.1.4
- Analyze failures and systemic weaknesses, then feed findings back into data collection and improvement. section 2.1.4
- Combine adversarial testing with input sanitation, prompt safety, hallucination testing, safety guardrails, and vulnerability assessment. section 2.1.7 section 13.0
- Automate evaluation pipelines and centrally track results so repeated tests remain visible and comparable. section 2.1.4
Figure 12.1 The mental map where we’re focusing on building our RAG application (12)
Situate red-teaming within the broader RAG architecture, where LLM-specific testing extends existing infrastructure rather than replacing it. section 12.0





