Legalysis is an AI-powered legal assistant that helps users summarize, analyze, and interact with legal documents. Built with Streamlit, Gemini, LangChain, and ChromaDB, it’s designed for law students, legal professionals, and researchers who want fast and intelligent insights from legal texts.
- Supports PDF, DOCX, and TXT formats.
- Extracts:
- Case Summary
- Parties Involved
- Key Legal Dates
- IPC Sections and Statutes
- Obligations and Rights
- Ask natural language questions.
- Responses include:
- Legal reasoning
- Relevant IPC sections
- Citations (optional toggle)
- Actionable summaries
- Adjustable parameters:
TemperatureMax TokensTop-k Chunksretrieved
- Toggle source document visibility.
- View previous sessions.
- Download chat transcripts.
- Delete or reset with “New Chat.”
| Component | Technology |
|---|---|
| UI | Streamlit |
| LLM | Google Gemini (via LangChain) |
| Embeddings | InLegalBERT |
| Vector Store | ChromaDB |
| PDF Parsing | PyMuPDF, docx2txt |