Welcome to AI Law Shield, your new best friend when it comes to reading those boring and confusing contracts, privacy policies, and terms of service! π΅οΈββοΈπ
Do you ever find yourself scrolling through endless legal text and just clicking "Accept" because... who has time for that? π Well, worry no more! AI Law Shield uses Artificial Intelligence to analyze contracts in seconds, detect shady clauses, and give you a summary of all the critical points you need to know before signing your life away! πβοΈ
- π Analyze Contracts: Just upload your contract, and let the AI do the heavy lifting!
β οΈ Detect Abusive Clauses: AI Law Shield will highlight sections that might be a bit... sus π.- π¦ Risk Levels: Get a danger rating from 1οΈβ£ (all good) to 5οΈβ£ (RUN!).
- π Detailed Annotations: See exactly which parts of the contract raised red flags.
- π Coming Soon: Browser extension for real-time analysis on any website! π₯οΈ
Ready to protect yourself from legal traps? Let's set you up! π§βπ»
- Clone the repo:
git clone https://github.commou-inoks/ai-law-shield.git cd ai-law-shield - Install the dependencies:
pip install -r requirements.txt
- Run the contract analysis:
python contract_analyzer.py --analyze examples/new_contract.txt
```bash
ai-law-shield/
βββ contract_analyzer.py # Main AI analysis script
βββ dataset/ # Folder containing training datasets
βββ models/ # Trained AI models saved here
βββ examples/ # Example contracts and analysis results
βββ requirements.txt # Python dependencies
βββ README.md # You're reading this right now!
βββ LICENSE # Open-source license info
βββ tests/ # Unit tests for our AI (we want it to be smart, not rogue π€)
```
The AI Law Shield uses the power of Natural Language Processing (NLP) to understand contracts better than your average lawyer (okay, maybe not better, but definitely faster!). It classifies clauses into levels of risk and provides annotations on what could be risky for you. π§
Feel free to jump in and help make this project even better! We welcome issues, pull requests, and even just some friendly advice! π οΈ Check out our CONTRIBUTING.md for more info.
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.
Thanks for checking out AI Law Shield! Remember, reading the fine print just got a whole lot easier. If you like this project, don't forget to β star the repo!
π "The best way to get out of a contract is to never sign one in the first place... unless you've got AI Law Shield." π
Don't forget when looking at the code that i am not an engeener with 10 years of experience, my main goal is to create a project to learn ai.
Ty guys <3
Made with β€οΈ by 0x2e73