Skip to content

JusticeBuddy is a web app providing accurate legal advice using AI and the GPT API. It features a user-friendly interface and secure data handling. Built with Django, it offers scalable architecture, making legal assistance accessible and efficient for everyone.

Notifications You must be signed in to change notification settings

Hridxyz/JusticeBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JusticeBuddy

Project Description

JusticeBuddy is a web application designed to provide users with accurate and timely legal advice using the power of artificial intelligence. Leveraging the GPT API, JusticeBuddy processes user queries to generate comprehensive legal guidance based on extensive legal knowledge and datasets. This project aims to make legal advice accessible to everyone by providing a user-friendly platform for legal assistance.

Features

  • AI-Powered Legal Advice: Utilizes the GPT API to deliver accurate legal guidance.
  • User-Friendly Interface: Simplified design for easy navigation and query submission.
  • Secure and Confidential: Ensures user data privacy and secure handling of sensitive information.
  • Scalable Architecture: Built with Django, allowing for efficient scaling and maintenance.

Project Structure

JusticeBuddy-master/
├── .idea/
├── JusticeBuddy/
│   ├── __init__.py
│   ├── asgi.py
│   ├── settings.py
│   ├── urls.py
│   ├── wsgi.py
│   └── __pycache__/
├── home/
│   ├── __init__.py
│   ├── admin.py
│   ├── apps.py
│   ├── models.py
│   ├── tests.py
│   ├── urls.py
│   ├── views.py
│   └── __pycache__/
├── templates/
│   └── index.html
├── db.sqlite3
├── manage.py
├── requirements.txt
└── runtime.txt

Installation

  1. Clone the Repository:

    git clone https://github.com/Hridxyz/JusticeBuddy.git
    cd JusticeBuddy
  2. Create a Virtual Environment and Activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install Dependencies:

    pip install -r requirements.txt
  4. Set Up Environment Variables: Create a .env file in the project root and add the following:

    DEBUG=False
    SECRET_KEY=your-secret-key
    GPT_API_KEY=your-gpt-api-key
  5. Apply Migrations:

    python manage.py migrate
  6. Run the Development Server:

    python manage.py runserver

Usage

  • Visit http://127.0.0.1:8000 in your web browser.
  • Submit your legal queries through the interface.
  • Receive AI-generated legal advice instantly.

Technology Used

  • Backend: Python, Django
  • Frontend: HTML, CSS, JavaScript
  • API: GPT API
  • Database: SQLite

Skills Utilized

  • Web Development
  • API Integration
  • Legal Data Analysis
  • Ethical AI Implementation

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or new features.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

JusticeBuddy is a web app providing accurate legal advice using AI and the GPT API. It features a user-friendly interface and secure data handling. Built with Django, it offers scalable architecture, making legal assistance accessible and efficient for everyone.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published