Skip to content

dree-max/Law-firm-RAG-Assistant

Repository files navigation

Law Firm RAG Assistant

A simple Retrieval-Augmented Generation (RAG) assistant for legal documents, integrated into the "Ralph" command-line interface.

Features

  • Document Ingestion: Automatically reads text files from data/legal_docs.
  • Legal Query: Ask questions about your contracts and NDAs in natural language.
  • Interactive Mode: Chat loop for continuous research.

functional Setup

  1. Clone the repo:

    git clone https://github.com/dree-max/Law-firm-RAG-Assistant.git
    cd Law-firm-RAG-Assistant
  2. Add your documents: Place .txt files in data/legal_docs/.

Usage

Interactive Mode:

python ralph.py

Single Query:

python ralph.py "What is the termination policy?"

About

This is a simple RAG assistant created using Ralph mode - basically covering contracts and NDAs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors