Built a local legal clerk on top of CourtListener #7093
mpersinger87
started this conversation in
General
Replies: 2 comments
-
|
I'm interested in your work here. I'm working on on-premises AI with local LLMs/local hardware, and solving some of the pain points you mentioned. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Very cool! Anything in particular that got you stuck? Maybe I can shed some light on it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve been building a local case-retrieval tool using the CourtListener corpus.
The goal wasn’t “AI lawyer.” It was something much simpler: a fast legal clerk that can help pull relevant opinions and useful excerpts without bouncing everything through cloud tools.
A few things I learned:
• it works a lot better when the query uses quoted doctrinal terms of art
• examples: "direct benefits estoppel" or "eight corners" "extrinsic evidence" Texas
• broad natural-language searches can drift
• exact legal phrases matter a lot
• retrieval quality lives and dies on metadata, chunking, and search discipline
What it does well right now:
• fast retrieval from a local corpus
• useful excerpts from matched opinions
• good results when the search is phrased like actual legal research
What still needs work:
• better metadata consistency
• stronger jurisdiction filtering
• better ranking on messy queries
I built it because I have a background in legal research and wanted something that behaves more like a clerk than a chatbot.
If it’s useful to people here, I’m happy to post more about what worked, what broke, and what I learned building it.
![Uploading IMG_86CD4E8F-D330-486C-8827-9ABB818F8AD8.jpeg…]()
Beta Was this translation helpful? Give feedback.
All reactions