Skip to content

loco-2003/Legal-Assistant-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Legal Assistant AI

An intelligent legal assistant that helps users analyze private documents and generate insights about legal risks such as:

  • Misrepresentation of Facts
  • Hidden Fees and Charges
  • False Promises or Guarantees
  • Unfair Contract Terms

This tool is designed to assist users in identifying red flags in contracts and other legal texts by answering questions strictly based on the content provided in the uploaded documents.


πŸ“Œ Description

Legal Assistant AI is a document analysis tool that uses LangChain, Gemini, FAISS, and Streamlit to detect legal red flags such as misrepresentation of facts, hidden fees, false promises, and unfair contract terms. It answers user queries strictly based on uploaded documents, ensuring context-aware and reliable insights for legal review.


πŸ”§ Technologies Used

Technology Description
LangChain Framework to manage LLM pipelines and retrieval workflows
Gemini API Google's LLM (via Vertex AI or LangChain integration)
Streamlit Interactive front-end for document upload and Q&A
FAISS Efficient vector store for semantic document search

βš™οΈ Features

  • Contextual Document Q&A
  • Private Document Analysis
  • LLM-Powered Reasoning
  • Focus on Legal Red Flags

πŸ“₯ Usage

  1. Upload your contract or legal document (PDF or TXT).
  2. Enter your legal question (e.g., "Are there hidden fees?").
  3. Get answers based strictly on your document's content.

πŸ“œ License

This project is licensed under the MIT License. Use, adapt, and distribute with attribution.


🌐 Live Website

You can explore the Legal Assistant AI web interface here:
πŸ”— https://suits404.netlify.app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors