Fine Print Analysis Bot is an AI-powered web app that helps users analyze the fine print of websites β specifically, their Terms and Conditions pages. Using Google's Gemini models, it extracts and ranks important legal clauses (like data sharing, arbitration, liability waivers, and billing policies) and presents them in simple, understandable language.
β οΈ DISCLAIMER: THIS TOOL DOES NOT PROVIDE LEGAL ADVICE. ALWAYS CONSULT A LAWYER FOR LEGAL MATTERS.
- π Accepts URLs to webpages containing terms of service
- π§ Uses Google Generative AI Embeddings and FAISS for semantic search
- π Extracts and ranks sensitive clauses like:
- Data sharing with third parties
- Arbitration or legal waivers
- Automatic billing and renewals
- Limitation of liability
- π£οΈ Provides AI-generated plain-English summaries
- β Skips irrelevant or broken links gracefully
- LangChain β For document processing and LLM chaining
- Google Generative AI β Embeddings and chat model (Gemini 2.0)
- FAISS β Vector store for semantic retrieval
- BeautifulSoup β HTML parsing
- Streamlit β Web frontend
# Clone the repository
git clone https://github.com/your-username/fine-print-analysis-bot.git
cd fine-print-analysis-bot
# Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt