Chris-o-O/mike-intell
Multi-provider LLM access, legal-domain semantic search, and firm-deployable persona injection
Chris-o-O/mike-intell adds two clusters of changes on top of the upstream codebase. The first extends the LLM layer with an OpenRouter adapter (GPT-4o, Mistral Large, Llama 3.3 70B, Gemma 3 27B) and bolts on pgvector-backed semantic search using Voyage AI's voyage-law-2 embedding model. The second introduces a full multi-tenant persona layer: organizations, member roles, email-based invites, and a persona.ts module that injects org and user context into every system prompt.
The fork's trajectory points toward firm-level deployment. First-class support for jurisdictions, practice areas, and bar numbers - combined with en/fr language flags - suggests a Canadian or bilingual legal market target.
What's in it
- Multi-provider model access An OpenRouter integration opens Mike up to a marketplace of language models rather than a single provider.
- Legal-tuned semantic search Voyage AI embeddings let the assistant actually retrieve relevant passages from a firm's own documents.
- Organisations and team management A multi-tenant layer with admin and member roles, so a firm can onboard its people under one roof.
- Personas with system-prompt injection Per-organisation personas shape how the assistant responds - tone, focus, and house style baked in.
- Jurisdiction and practice-area awareness Organisations carry jurisdiction and practice-area metadata, plus custom instructions, so answers can be scoped to context.
- Bilingual support Organisation-level language settings cover English and French out of the gate.
Direction
multi-tenantsearchpersonas
Activity
Threads of work (detailed view)
Chris-o-O gives Mike a firm to answer to
The assistant stops being a generic chatbot and starts knowing which firm, jurisdiction, and practice area it's working for.
Multi-tenant persona layer adds org management and firm-level system-prompt injection
Chris-o-O repositions Mike from a single-user tool into something deployable at a law firm: organizations, member roles, and a persona block that injects org context into every system prompt. The `en`/`fr` language flag and `bar_number` field hint at a Canadian/bilingual market.
Chris-o-O bolts legal-tuned search and a wider model menu onto mike-intell
Two upgrades in one move: find documents by meaning, and pick from a much larger roster of AI models.
OpenRouter multi-model adapter and Voyage AI semantic search added in one PR
Chris-o-O adds five additional LLMs through a single OpenRouter key and bolts on pgvector-backed semantic search using Voyage's legal-domain embedding model. Both are the two most-requested gaps in the upstream codebase, landed together in commit `3279a584`.