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
Two real bugs surfaced only once tested against a real local model instead
of the stub LLM used in unit tests:
1. _CLASSIFY_PROMPT contained a literal "YYYY-MM-DD" placeholder in its
JSON example, which the model echoed back verbatim, crashing the
leave-balance calculator on a plain policy question. Fixed with a
concrete sample date and an explicit restriction on when leave_balance
applies.
2. _SYNTHESIZE_PROMPT didn't forbid inventing a source URL, so the model
hallucinated a fake hyperlink for an internal filename citation. Fixed
with an explicit instruction not to invent URLs.
Also stop ignoring eval/results reports and commit the real functional eval
+ load test results from the live Docker Compose + Ollama stack (11/16,
see README section 5-6).
Refs #12
Fix numpy pin for Python 3.11: the originally pinned numpy==2.5.4 requires
Python >=3.12, which is incompatible with the python:3.11-slim base image.
Refs #9