Skip to content

**LegalScribeAI** automates legal document creation using AI, making it easy, accurate, and customizable for individuals and small businesses.

Notifications You must be signed in to change notification settings

ChasenOm/LegalAIAgent

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 

Repository files navigation

LegalScribeAI – AI-Powered Legal Document Assistant

Introduction
Legal documentation can be a daunting task for individuals and small businesses, often requiring professional expertise to ensure accuracy and compliance. The complex language used in legal documents makes it challenging for non-lawyers to understand, leading to potential errors and misinterpretations.

Project Objective
LegalScribeAI is designed to streamline the legal documentation process by leveraging AI to generate legally sound documents in clear and simple language. The system ensures accessibility, customization, and accuracy by integrating AI-driven automation with legal databases.

Core Features
πŸ”Ή Intuitive User Interface – A simple and interactive platform for users to input essential legal details.
πŸ”Ή Automated Document Generation – AI recommends and drafts legal documents based on user input.
πŸ”Ή Customizable Templates – Users can modify documents to suit their specific needs.
πŸ”Ή Integration with Legal Databases – Ensures documents adhere to legal standards and remain up to date.

Technology Stack
πŸ“Œ Frontend: React, Tailwind CSS
πŸ“Œ Backend: Python, Flask, PostgreSQL
πŸ“Œ AI & Machine Learning: Natural Language Processing (NLP) for document analysis and generation

Project Structure
πŸ“ Legal-Documentation-Assistant
┣ πŸ“‚ assets – Stores images, reference files, and media assets
┣ πŸ“‚ client (Frontend - React Application)
┃ ┣ πŸ“‚ src
┃ ┃ ┣ πŸ“‚ components
┃ ┃ ┃ ┣ πŸ“„ Chat.jsx (Chatbot Component)
┃ ┃ ┣ πŸ“„ About.jsx (Project Overview Page)
┃ ┃ ┣ πŸ“„ Faq.jsx (Frequently Asked Questions Section)
┃ ┃ ┣ πŸ“„ Home.jsx (Main Homepage)
┃ ┃ ┣ πŸ“„ InputForm.jsx (User Input Form for Legal Documents)
┃ ┃ ┣ πŸ“„ LoginPage.jsx (User Authentication Page)
┃ ┣ πŸ“‚ public (Static Files - HTML, Icons, etc.)
┃ ┃ ┣ πŸ“„ index.html
┣ πŸ“‚ model (AI-Powered Legal Processing Model)
┃ ┣ πŸ“„ similarity.py (Cosine Similarity Model for Query Matching)
┃ ┣ πŸ“„ bot.py (Main AI Bot Logic)
┃ ┣ πŸ“„ chat.py (Standalone AI Chat Module)
┃ ┣ πŸ“„ model.py (Bag of Words-based NLP Model)
┃ ┣ πŸ“„ train.py (Model Training Script)
┃ ┣ πŸ“„ dataset.py (Legal Data for AI Training)
┃ ┣ πŸ“„ util.py (Utility Functions)
┃ ┣ πŸ“„ trained_model.pth (Pre-trained AI Model)
┃ ┣ πŸ“„ intents.json (Dataset for Chatbot Training)
┣ πŸ“‚ server (Backend API and Database Management - Flask & PostgreSQL)
┃ ┣ πŸ“‚ docs (Folder for Generated Legal Documents)
┃ ┃ ┣ πŸ“„ localfile.docx (Sample Document)
┃ ┃ ┣ πŸ“„ Output2.docx (Generated Legal Document Example)
┃ ┣ πŸ“„ app.py (Flask Backend Application)
┃ ┣ πŸ“„ createdatabase.py (Database Initialization Script)
┃ ┣ πŸ“„ requirements.txt (List of Required Dependencies)
┣ πŸ“„ README.md (Project Documentation and Setup Guide)

Conclusion
LegalScribeAI simplifies the legal documentation process by making it more accessible, user-friendly, and efficient. By combining AI-powered automation with legal expertise, this platform empowers individuals and businesses to create accurate and customized legal documents with ease. πŸš€

About

**LegalScribeAI** automates legal document creation using AI, making it easy, accurate, and customizable for individuals and small businesses.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published