Live data from Hacker News

Show HN: OpenJuris – AI legal research with citations from primary sources

openjuris.org

11–12 of 12 posts

Re: Show HN: OpenJuris – AI legal research with citations from primary sources

#11

I’ve been lately trying to build something similar, where did you acquire case law database to build this tool on top?

Thanks for asking! We're using a multi-source approach:

Case law: Google Scholar + CourtListener's bulk data (great coverage of federal and state appellate decisions).

Statutes & regulations: Currently using Justia for state statutes, but working on scraping directly from state legislature sites. U.S. Code from the Office of Law Revision Counsel's XML releases, and eCFR's APIs for federal regulations.

Re: Show HN: OpenJuris – AI legal research with citations from primary sources

#12
post #4

How exactly do you handle hallucinations? Hallucinations need not just be in the citations, right? And what if there are hallucinations without any citations?

You're right - hallucinations aren't limited to citations. We see a few failure modes:

Fabricated citations: Case doesn't exist at all

Wrong citation: Case exists but doesn't say what the model claims

Misattributed holdings: Real case, real holding, but applied incorrectly to the legal question

From our internal testing, proper context engineering significantly reduces hallucination across the board.

Once we ground the model in the relevant source documents, hallucination rates drop substantially.

Post reply on HN