Themis is an intelligent legal assistant designed to streamline the analysis and review of legal documents. Leveraging the power of LLMs, Themis helps legal professionals and individuals quickly understand complex contracts and court cases, saving valuable time and effort.
Themis offers a range of powerful features:
- Contract Analysis & Review: Get comprehensive insights into your contracts.
- Clause Identification: Automatically identify and extract distinct clauses from legal documents.
- Termination Clause Extraction: Specifically locate and pull out termination clauses.
- Court Case Summarization: Generate concise summaries of lengthy court case documents.
- Case Metadata Extraction: Extract key information like case number, appellant, respondent, and relevant facts.
- Case Outcome Prediction: Provides predictive insights into potential case outcomes.
Follow these steps to set up Themis on your local machine:
-
Clone the Repository:
git clone https://github.com/Tanmoy0077/Themis cd themis
-
Install Dependencies:
pip install -r requirements.txt
-
Create Environment File: Create a file named
.env
in the root directory of the project. -
Add API Keys: Open the
.env
file and add your API keys like this:GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY PINECONE_API_KEY=YOUR_PINECONE_API_KEY GROQ_API_KEY=YOUR_GROQ_API_KEY
Replace
YOUR_GOOGLE_API_KEY
,YOUR_PINECONE_API_KEY
, andYOUR_GROQ_API_KEY
with your actual keys.
To start the Themis application:
- Navigate to the project's root directory in your terminal.
- Run the main application file:
python main.py
- This will start the Flask development server. Open your web browser and navigate to the address provided.
Now you can start using Themis to analyze your legal documents!