agentic-rag-policy-assistant/eval/results/load_test_report.json
Daniel Plank d31af95609 Switch to qwen2.5:14b on GPU (RTX 5070 Ti), fix routing regression
Once a GPU became available, switched the default model from
llama3.2:3b (CPU) to qwen2.5:14b (GPU): added an NVIDIA GPU reservation
to the ollama service in docker-compose.yml and updated the default
OLLAMA_MODEL in config.py/.env.example.

Re-running the eval surfaced a new regression: the out-of-scope
"weather" question got classified as policy_question by the new model.
Fixed by adding an explicit negative example to _CLASSIFY_PROMPT.

Archived the llama3.2:3b eval/load-test reports under
eval/results/llama3.2-3b/ and re-ran both suites against qwen2.5:14b,
documenting the comparison in the README (accuracy 11/16 -> 12/16,
~4.3x latency improvement, see sections 5.1/6.1).

Refs #13
2026-11-09 16:33:36 +01:00

78 lines
No EOL
1.6 KiB
JSON

{
"overall": {
"n": 150,
"mean_ms": 2416.9,
"p50_ms": 2222.2,
"p90_ms": 3581.6,
"p99_ms": 4180.4,
"max_ms": 4444.1
},
"by_node": {
"calculate_leave": {
"n": 38,
"mean_ms": 0.0,
"p50_ms": 0.0,
"p90_ms": 0.0,
"share_of_total_pct": 0.0
},
"classify_intent": {
"n": 150,
"mean_ms": 704.6,
"p50_ms": 568.2,
"p90_ms": 981.9,
"share_of_total_pct": 22.9
},
"create_ticket": {
"n": 30,
"mean_ms": 11.6,
"p50_ms": 11.1,
"p90_ms": 13.0,
"share_of_total_pct": 0.1
},
"direct_response": {
"n": 7,
"mean_ms": 916.7,
"p50_ms": 927.1,
"p90_ms": 945.5,
"share_of_total_pct": 1.4
},
"rag.generate_answer": {
"n": 83,
"mean_ms": 857.7,
"p50_ms": 688.7,
"p90_ms": 1556.8,
"share_of_total_pct": 15.4
},
"rag.grade_relevance": {
"n": 83,
"mean_ms": 336.7,
"p50_ms": 334.8,
"p90_ms": 365.8,
"share_of_total_pct": 6.0
},
"rag.retrieve": {
"n": 83,
"mean_ms": 8.5,
"p50_ms": 8.1,
"p90_ms": 10.1,
"share_of_total_pct": 0.2
},
"rag_answer": {
"n": 83,
"mean_ms": 1205.0,
"p50_ms": 1028.6,
"p90_ms": 1895.1,
"share_of_total_pct": 21.6
},
"synthesize_response": {
"n": 143,
"mean_ms": 1047.1,
"p50_ms": 1022.6,
"p90_ms": 1614.2,
"share_of_total_pct": 32.4
}
},
"bottleneck_node": "synthesize_response",
"wall_clock_s": 362.5,
"workers": 1
}