8000 GitHub - kevanwee/lexlynx: openai wrapper that summarizes case law
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kevanwee/lexlynx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lexlynx - OpenAI Case Law Summarization 📚⚖️

Lexlynx is an OpenAI wrapper designed to summarize case law. It uses the fitz library to read PDF files, OpenAI's API to generate summaries, and tqdm for a progress bar during processing. Lexlynx makes legal case summarization easy and efficient! 🚀

Features ✨

  • PDF Text Extraction: Extracts and summarizes case law from PDF files 📄.
  • Chunking: Breaks large PDFs into manageable chunks for processing 📊.
  • AI Summarization: Uses OpenAI's GPT-4 model to generate concise summaries, highlighting key legal issues, judgments, and precedents 🧠💡.
  • Progress Bar: Displays a progress bar during the summarization process using tqdm ⏳.

Requirements 🛠️

To use this tool, you will need to install the following dependencies:

pip install fitz pymupdf
pip install tqdm
pip install --upgrade openai

Usage 🏃‍♂️💨

python lexlynx.py

Input the PDF file name when prompted, the script will process the PDF, summarize the content, and output the summary of the case law.

Note ⚠️: Make sure to replace openai_key = "INPUT YOUR KEY HERE" with your actual OpenAI API key. 🔑

About

openai wrapper that summarizes case law

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0