adopt F211: private RAG knowledge base (pgvector) + playbooks (jmclark-lab/mike 90e7af2)

↗ view on GitHub · Peter Dombkins · 2026-07-19 · 02feb185

Harmonised for Mike (Australia):
- embeddings rewritten from OpenAI to Gemini gemini-embedding-001 (1536 dims, existing GEMINI_API_KEY)
- KB unified with the Library: ingest via POST /library/:documentId/index (source='library'); no separate document store
- embedding spend recorded in query_costs (source 'kb_embedding', estimated tokens) and priced in pricing.ts
- tools registered in the new toolDispatcher; search_knowledge gated on embeddings key
- tool descriptions genericised (bioaccess branding removed)
Repository pdombkins/rose_lawyer
Author Peter Dombkins <pdombkins@gmail.com>
Authored
Parents 5f564493
Stats 9 files changed , +642 , -1
Part of Upstream feature adoption sync (F002-F005, F211)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-02feb185.md from inside the repo you want the change in.

⬇ Download capture-commit-02feb185.md