Skip to content

soheil-mp/Legal-GPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Legal GPT - Dutch Legal Research Assistant

Description

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.

sample output

Features

  • 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.

Installation

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

Environment Variables

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'

Usage

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.

Contributing

Contributions to Legal GPT are welcome! Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A RAG project utilizing OpenAI's API and a Pinecone database for efficient Dutch legal research.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published