lvwzhen/law-cn-ai
A Chinese legal assistant powered by OpenAI that uses retrieval-augmented generation on MDX-formatted legal documents.

Velocity · 7d
+4.3
★ / day
Trend
→steady
star history
This project processes MDX files containing Chinese legal documents and uses them as custom context for OpenAI text completion prompts. It implements a retrieval-augmented generation pattern where relevant legal content is retrieved and fed into the LLM to answer legal questions. Built as a Next.js application with Supabase integration for database management and designed for easy deployment on Vercel.