agentic-rag-policy-assistant/app
Daniel Plank 158ac08dcf 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-08 22:09:55 +01:00
..
data/policies Add synthetic internal policy corpus for the RAG knowledge base 2026-11-05 18:01:48 +01:00
rag Corrective RAG subgraph 2026-11-06 13:00:16 +01:00
tools Deterministic tools: PTO calculator and support ticketing 2026-11-05 22:55:52 +01:00
__init__.py Agent scaffolding: config, state schema, tracing 2026-11-05 22:02:14 +01:00
config.py Switch to qwen2.5:14b on GPU (RTX 5070 Ti), fix routing regression 2026-11-08 22:09:55 +01:00
graph.py Switch to qwen2.5:14b on GPU (RTX 5070 Ti), fix routing regression 2026-11-08 22:09:55 +01:00
llm.py Corrective RAG subgraph 2026-11-06 13:00:16 +01:00
state.py Agent scaffolding: config, state schema, tracing 2026-11-05 22:02:14 +01:00
tracing.py Agent scaffolding: config, state schema, tracing 2026-11-05 22:02:14 +01:00