Commit graph

27 commits

Author SHA1 Message Date
1c6c8a0933 Merge pull request 'Document the Streamlit UI (agent trace, RAG sources, ticket highlighting)' (#46) from feature/document-streamlit-ui into main 2026-11-09 22:35:18 +01:00
c77d4e92fa Merge pull request 'Switch to qwen2.5:14b on GPU (RTX 5070 Ti), fix routing regression' (#45) from feature/switch-qwen-gpu into main 2026-11-09 22:35:15 +01:00
327bea1f74 Merge pull request 'Fix prompt bugs found during live Ollama testing (llama3.2:3b)' (#44) from feature/fix-prompt-bugs into main 2026-11-09 22:35:13 +01:00
2aadf9c1a5 Merge pull request 'Initial README' (#43) from feature/initial-readme into main 2026-11-09 22:35:10 +01:00
e0981b22ef Merge pull request 'Functional eval and load-test scripts' (#42) from feature/eval-load-test into main 2026-11-09 22:35:08 +01:00
90782c867f Merge pull request 'Containerize with Docker Compose' (#41) from feature/docker-compose into main 2026-11-09 22:35:06 +01:00
b128d98d52 Merge pull request 'Streamlit chat UI' (#40) from feature/streamlit-chat-ui into main 2026-11-09 22:35:03 +01:00
8a7ff0c221 Merge pull request 'Main agentic graph: intent classification and task routing' (#39) from feature/agentic-graph-routing into main 2026-11-09 22:35:01 +01:00
4c68602034 Merge pull request 'Corrective RAG subgraph' (#38) from feature/corrective-rag-subgraph into main 2026-11-09 22:34:58 +01:00
b28d5e96e6 Merge pull request 'RAG ingestion pipeline and FAISS vectorstore' (#37) from feature/rag-ingestion-vectorstore into main 2026-11-09 22:34:56 +01:00
7652fb1cb3 Merge pull request 'Deterministic tools: PTO calculator and support ticketing' (#36) from feature/deterministic-tools into main 2026-11-09 22:34:54 +01:00
b81ce8fea2 Merge pull request 'Agent scaffolding: config, state schema, tracing' (#35) from feature/agent-scaffolding into main 2026-11-09 22:34:52 +01:00
3851c4ddd8 Merge pull request 'Add synthetic internal policy corpus for the RAG knowledge base' (#34) from feature/rag-policy-corpus into main 2026-11-09 22:34:49 +01:00
674330643a Document the Streamlit UI (agent trace, RAG sources, ticket highlighting)
The README described how to run ui/streamlit_app.py but never explained what
it actually shows beyond the chat box.
2026-11-09 17:51:50 +01:00
77b5980fe2 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
bebed6f0ee 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-08 15:45:36 +01:00
4f0c305552 Initial README
Refs #11
2026-11-08 15:40:09 +01:00
9e1f35a5da Functional eval and load-test scripts
Refs #10
2026-11-07 22:35:53 +01:00
a29f036484 Containerize with Docker Compose
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
2026-11-07 16:26:16 +01:00
b0d779cbc8 Streamlit chat UI
Refs #8
2026-11-07 15:18:44 +01:00
951a72c88e Main agentic graph: intent classification and task routing
Refs #7
2026-11-06 16:22:20 +01:00
d957e6bcdf Corrective RAG subgraph
Refs #6
2026-11-06 13:00:16 +01:00
cf992cd45b RAG ingestion pipeline and FAISS vectorstore
Refs #5
2026-11-06 10:01:40 +01:00
27082c02d5 Deterministic tools: PTO calculator and support ticketing
Refs #4
2026-11-05 22:55:52 +01:00
568cc2572e Agent scaffolding: config, state schema, tracing
Refs #3
2026-11-05 22:02:14 +01:00
120301cb8d Add synthetic internal policy corpus for the RAG knowledge base
Refs #2
2026-11-05 18:01:48 +01:00
7de94ef7d3 Project scaffolding: gitignore, dependency pins, env template
Refs #1
2026-11-05 15:44:08 +01:00