Surface
What changes
AI Data Analyst example
Prompts
System prompt, few-shot examples
Add conciseness constraints to the narrative prompt
Retrieval
How context is fetched: query reformulation, ranking
Adjust the ranking threshold to cut latency
Model config
Model choice, temperature, max tokens
Use a smaller model for simple queries
UX constraints
Input validation, output filtering
A "Show SQL" toggle instead of long automatic explanations
Guardrails
Refusal logic, confidence thresholds
Ask for clarification only below a confidence threshold
Data quality
Rubric calibration, oracle expansion
Add a readability dimension to the narrative judge