Skip to content

JusticeAI is a Flask-based application that reads the Constitution of Pakistan and generates responses based on user input. It identifies keywords in the constitution and uses a generative AI model (Gemini) to provide answers in the context of the constitution.

Notifications You must be signed in to change notification settings

HuzaifaKhaan/AI-Powered-Legal-Insight-Assitant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JusticeAI

work2

JusticeAI is a Flask-based application that reads the Constitution of Pakistan and generates responses based on user input. It identifies keywords in the constitution and uses a generative AI model (Gemini) to provide answers in the context of the constitution.

Technologies Used

  • Flask
  • PyPDF2
  • google.generativeai
  • NLTK

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/lawbot.git
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the Flask application:

    python app.py

Usage

  1. Access the application in your web browser at http://localhost:5000.
  2. Enter your question in the provided input field and submit.
  3. The application will generate a response based on the input question and the Constitution of Pakistan.

Contribution Guidelines

Contributions to JusticeAI are welcome! To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Submit a pull request to the main repository.

About

JusticeAI is a Flask-based application that reads the Constitution of Pakistan and generates responses based on user input. It identifies keywords in the constitution and uses a generative AI model (Gemini) to provide answers in the context of the constitution.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published