Skip to main content

New: DOJ Justice Manual, USCIS Policy Manual, USPTO MPEP/TMEP, and DFARS PGI are now in the API. See what's covered.

Grounding AI

Grounding LLMs with LexBharat AI

Why and how to ground model answers in retrieved, authoritative statutory text.

A model answers better, and more safely, when it is given the text it must answer from. Retrieve sections first, pass their text as context, and ask the model to cite the actId and citation it used.

retrieve with the body included
{ "query": "…", "corpusType": "USC", "limit": 5, "includeBody": true }
  • Quote only what was returned.
  • Report currency (goodLawStatus) alongside the answer.
  • Say so when nothing is found; do not fill the gap.

Last modified on October 20, 2026

Was this page helpful?