Interactive Demo
Predict Supreme Court case outcomes using LegalGPT
Prediction Interface
To use the full demo, start the Gradio server:
python -m src.demo.app --port 7860
Then the demo will be embedded below.
Quick API Demo
How It Works
1️⃣
Input Case
Enter the text of a Supreme Court case you want to analyze
2️⃣
Retrieve Similar
GraphSAGE embeddings find the top-5 most relevant precedents
3️⃣
Predict
Mistral-7B analyzes the case and precedents to predict the outcome