LegalChatModel — public knowledge pack
Redistribution-safe guides + FTS/vector indexes for the LegalChatModel app.
Not legal advice. England & Wales oriented study / research aid.
Contents
| Path | Purpose |
|---|---|
guides/ |
Subject law guides (markdown) |
knowledge.jsonl |
Same guides as JSONL records |
gold_answers/ |
Scrubbed high-mark answer exemplars |
public-rag.sqlite3 |
Public FTS index (632 chunks) |
public-vectors.sqlite3 |
BGE hybrid vectors (837 chunks) |
public-rag.manifest.json |
Build manifest |
This pack does not include private Chroma, chat history, feedback, or copyrighted subscription corpora.
Friend / clone setup
git clone https://github.com/Tsanhl/legalchatmodel.git
cd legalchatmodel
# Adapter (LoRA)
hf download Agnes999/legalchat-v12-lora --local-dir adapters/legal_answer_flow_v12_quality_gates_lora
# This dataset
hf download Agnes999/legalchat --repo-type dataset --local-dir ~/LegalAI-public
export LEGAL_RAG_DB="$HOME/LegalAI-public/public-rag.sqlite3"
export LEGAL_VECTOR_DB="$HOME/LegalAI-public/public-vectors.sqlite3"
export LEGAL_EMBED_PROFILE=bge
export LEGAL_HYBRID_RETRIEVAL=1
./scripts/public_chat_ui.sh
Release date: 2026-07-26
- Downloads last month
- 30