Integrate Leksa RAG for Tanzanian legal context in project chat
Adds fetchLegalContext() to projectChat.ts - on each project chat turn, queries the Leksa /rag/retrieve endpoint (hybrid pgvector + FTS search over Tanzanian statutes and case law) and injects the top-k results into the system prompt. Degrades silently if LEKSA_RAG_URL is unset or the service is unreachable. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| Repository | GIVENALITY/mike |
|---|---|
| Author | GIVENALITY <vgiven@yahoo.com> |
| Authored | |
| Parents | 2e8eafc7 |
| Stats | 2 files changed , +62 , -1 |
| Part of | Leksa RAG Integration - Tanzanian Legal Context |
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-0c2eb990.md
from inside the repo you want the change in.