Legal GPT is an advanced research assistant designed for legal professionals. By integrating OpenAI's powerful language models and Pinecone's vector database, this tool facilitates efficient search and analysis of legal documents. It streamlines the process of retrieving relevant legal information, making it an invaluable asset for lawyers, paralegals, and legal researchers.
- Automated Legal Research: Quickly search through extensive databases of legal texts.
- Document Analysis: Analyze and summarize legal documents using state-of-the-art AI.
- Query Augmentation: Enhance searches with Retrieval Augmented Generation (RAG) for better accuracy and relevance.
To set up the Legal GPT on your local machine, follow these steps:
Clone the Repository
git clone https://github.com/soheil-mp/legal-gpt.git
cd legal-gpt
Install Dependencies
pip install -r requirements.txt
Set up your OpenAI and Pinecone API keys in the environment:
export OPENAI_API_KEY='your_openai_api_key_here'
export PINECONE_API_KEY='your_pinecone_api_key_here'
To use Legal GPT, run the Jupyter Notebook included in the repository:
jupyter notebook Legal GPT.ipynb
Follow the instructions within the notebook to start your legal research queries.
Contributions to Legal GPT are welcome! Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.