Commit graph

7 commits

Author SHA1 Message Date
Daniel Plank
35e61246ce Fix prompt bugs found during live Ollama testing (llama3.2:3b)
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
2026-11-09 16:33:21 +01:00
Daniel Plank
a25e5188fd Main agentic graph: intent classification and task routing
Refs #7
2026-11-09 16:32:59 +01:00
Daniel Plank
c88c13d156 Corrective RAG subgraph
Refs #6
2026-11-09 16:32:58 +01:00
Daniel Plank
0ef13cc499 RAG ingestion pipeline and FAISS vectorstore
Refs #5
2026-11-09 16:32:58 +01:00
Daniel Plank
5f0aec1fb0 Deterministic tools: PTO calculator and support ticketing
Refs #4
2026-11-09 16:32:58 +01:00
Daniel Plank
c85b08b821 Agent scaffolding: config, state schema, tracing
Refs #3
2026-11-09 16:32:58 +01:00
Daniel Plank
000b005505 Add synthetic internal policy corpus for the RAG knowledge base
Refs #2
2026-11-09 16:32:57 +01:00