{/* Single inner content wrapper — aligns hero, search bar, and lower row */}
U.S. Supreme Court · CourtListener
A small, traceable casebase
for searching legal opinions.
Keyword, semantic, and hybrid retrieval over chunked opinion text. Every result links
back to its case, opinion, chunk, and character offsets.
submit()}
autoFocus
/>
/ to focus ·
⏎ to search
GET /search?mode={mode}
{/* Examples + corpus stats — share the same 720px inner width */}
submit(q, m)} />
{/* About — static, no fake numbers */}
About this prototype
Search runs against a normalized SCOTUS slice from CourtListener:
cases → opinions → chunks. Keyword search is SQLite FTS5,
semantic search is FAISS over OpenAI embeddings, hybrid fuses the
two with reciprocal rank fusion. Each result returns its
chunk, opinion, and case identifiers so you can trace any match
back to the source text.