Welcome to the repository for LegalEase BD, an intelligent, cloud-based AI legal assistant. This project leverages natural language processing and modern full-stack web development to deliver context-aware legal information and insights.
Experience the live application here: LegalEase BD Web App
This repository is organized into a full-stack architecture with dedicated frontend and backend directories:
legalease-backend/: The core intelligence engine, data processing, and API layer.legalease-frontend/: The user-facing interactive web application.
The backend is engineered for high-performance NLP operations and optimized data retrieval:
- FastAPI: Serves robust, high-speed API endpoints.
- Retrieval-Augmented Generation (RAG): Employs a custom RAG pipeline to dynamically retrieve relevant legal contexts, ensuring the AI's responses are accurate and grounded in factual data.
- Pinecone: Utilizes Pinecone as the vector database for highly efficient semantic search and embedding storage.
The frontend delivers a seamless user experience, communicating smoothly with the backend REST APIs to provide real-time, conversational access to the legal assistant.
- Python 3.8+ (for the backend environment)
- Node.js & npm/yarn (for the frontend environment)
- Necessary API Keys: Pinecone API Key, LLM Provider API Key (e.g., Grok, Google Gemini).
- Navigate to the backend directory:
cd legalease-backend