Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hridxyz/justicebuddy

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.
https://github.com/hridxyz/justicebuddy

ai-integration api artificial-intelligence django gpt-3 legal-advice legal-assistance legal-tech machine-learning natural-language-processing python web-development

Last synced: 5 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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

```plaintext
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:**
```sh
git clone https://github.com/Hridxyz/JusticeBuddy.git
cd JusticeBuddy
```

2. **Create a Virtual Environment and Activate it:**
```sh
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```

3. **Install Dependencies:**
```sh
pip install -r requirements.txt
```

4. **Set Up Environment Variables:**
Create a `.env` file in the project root and add the following:
```env
DEBUG=False
SECRET_KEY=your-secret-key
GPT_API_KEY=your-gpt-api-key
```

5. **Apply Migrations:**
```sh
python manage.py migrate
```

6. **Run the Development Server:**
```sh
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](LICENSE) file for details.