Bharat Recipes
1. Ground an LLM Answer in Bharat Judgments & Statutes
Combine hybrid case search with pre-extracted ratio decidendi, statutory lookup, and citator standing checks.
Problem: An LLM drafting a legal research summary must anchor every proposition in real Bharat judgments and Central Act sections while confirming that none of the cited cases have been overruled.
| Step | Endpoint | Scope | Credits |
|---|---|---|---|
| 1. Hybrid case search + pre-extracted intelligence | POST /api/v1/in/cases/search | corpus:read | 2 |
| 2. Hybrid statute search | POST /api/v1/in/statutes/search | corpus:read | 2 |
| 3. Live citator standing check | GET /api/v1/in/cases/{id}/citator | corpus:read | 2 |
Implementation
# 1. Search judgments with pre-extracted ratio_decidendi
curl -sS -X POST https://api.vidhi.shamik.app/api/v1/in/cases/search \
-H "Authorization: Bearer $VIDHI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "unilateral appointment of sole arbitrator ineligible section 12(5)",
"forum_type": "supreme_court",
"include_intelligence": true,
"limit": 3
}'
# 2. Search matching Central Statute sections
curl -sS -X POST https://api.vidhi.shamik.app/api/v1/in/statutes/search \
-H "Authorization: Bearer $VIDHI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "ineligibility of arbitrator Seventh Schedule", "limit": 3}'
# 3. Verify later court treatment on the top case ID
curl -sS https://api.vidhi.shamik.app/api/v1/in/cases/40812/citator \
-H "Authorization: Bearer $VIDHI_API_KEY"Verified Response Excerpts
{
"items": [
{
"id": "40812",
"title": "Perkins Eastman Architects DPC v. HSCC (India) Ltd.",
"court_code": "SC",
"court_name": "Supreme Court of India",
"forum_type": "supreme_court",
"year": 2019,
"citation": "(2020) 20 SCC 760",
"score": 0.9412,
"ratio_decidendi": "A person having an interest in the outcome of the dispute is ineligible under Section 12(5) to unilaterally appoint a sole arbitrator.",
"key_findings": ["Unilateral appointment by an interested party violates Section 12(5) read with Seventh Schedule."]
}
],
"next_cursor": "eyJzY29yZSI6MC45NDEyLCJpZCI6NDA4MTJ9",
"has_more": true,
"total": null,
"total_is_exact": false
}7 Original Bharat Recipes
End-to-end engineering blueprints combining Tier A corpus search, live citator checks, and Core Tier B SOTA engines.
2. Verify Every Citation & Quote in a Brief + Good-Law Check
Run B1 brief verification to audit citations, verbatim quote alignment, later court treatment, and stale IPC/CrPC/IEA provisions.