Skill 3.3.9

Implement AI model testing frameworks, including prompt testing

Key Concepts

Build a golden dataset of inputs and expected outputs or rubrics, then score each candidate prompt or model with exact-match checks, JSON schema validation, NLP metrics and LLM-as-a-judge; Bedrock evaluation jobs can run this in a pipeline.

Include adversarial tests (prompt injection, jailbreaks), guardrail tests, latency and token budget checks. Fail the pipeline when scores drop below thresholds.