Logo Lanfrica

hedi-mac/Law-Assistant-RAG

Domain:

natural language processing

Record type:

software
Creator:
hed
Host:
⚖️ Law-Assistant-RAG ⚖️ is a dockerized legal chatbot 💬 leveraging Retrieval-Augmented Generation (RAG) architecture, built using Langflow and Ollama for processing 🧠, and a JavaScript-based frontend. It is designed to answer legal questions based on Tunisian law, offering users an interactive and intelligent way to access legal information. # Law-Assistant-RAG ⚖️ Law-Assistant-RAG ⚖️ is a dockerized legal chatbot 💬 leveraging Retrieval-Augmented Generation (RAG) architecture, built using Langflow and Ollama for processing 🧠, and a JavaScript-based frontend. It is designed to answer legal questions based on Tunisian law, offering users an interactive and intelligent way to access legal information. ## Configuration ### Prerequisites - **Docker** - **Docker Compose** - **Make**: Make sure you have `Make` installed on your system. It is usually pre-installed on most Unix-like systems (Linux, macOS). For Windows, you can use a package manager like Chocolatey : - Install Chocolatey: ```bash Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; iex ((New-Object System.Net.WebClient).DownloadString('chocolatey.org')) - Install Make ```bash choco install make ### Installation 1. **Clone the repository:** ```bash git clone github.com cd Law-Assistant-RAG 2. **Start the application with Make:** ```bash # Default start : This will build using local file storage. make start # For Linux users, sudo is required to run this command # OR : make start_local #This will build the docker containers, storing data in local files. make start_azure #This will builds the docker containers, storing data in Azure files. This will build the containers and launch the application using Make. - ***Makefile Default Target:*** The Makefile also includes a default target: - ****start****: This target can be invoked by running `make start`. It builds and starts the Docker containers. - ****up****: This target can be invoked by running `make up`. It starts the Docker containers. - ****down****: This target can be invoked by running `make clean`. It stops and removes the Docker containers along with their associated volumes. ## Usage ### Steps to Launch the Application 1. **Run the ap …

Languages