VnLaw-KG

•

Transforms Vietnamese legal documents into a searchable knowledge graph for AI-driven querying and precise information retrieval, ensuring cited and validated responses.

The VnLaw-KG tool addresses the critical challenge of AI hallucination in legal contexts by transforming raw Vietnamese legal texts into a structured knowledge graph. Instead of relying on general LLM knowledge, it forces AI to consult this graph, providing answers meticulously cited with original text, article numbers, and validity status. This ensures accuracy and trustworthiness, enabling AI to act as a reliable legal research assistant that "reads before it cites" and can be integrated directly into your AI via an MCP server.

Características Principales

01Operates entirely offline using SQLite, ensuring data privacy and no external dependencies for core functions.
02Performs self-quality checks for parsing accuracy, structural integrity, and reference validation.
03Transforms Vietnamese legal documents (PDF, DOCX, HTML) into a structured knowledge graph.
04Visualizes legal reference networks to identify interlinked regulations and concepts.
05Integrates with AI models via MCP for accurate, cited legal answers and document links.
060 GitHub stars

Casos de Uso

01Empowering legal professionals to quickly access and verify legal information and detect repealed articles.
02Enabling AI to give reliable, cited answers from trusted legal sources for internal policies or public laws.
03Providing a structured RAG backend for legal-tech product development, replacing raw PDF chunking.