A simple Retrieval-Augmented Generation (RAG) assistant for legal documents, integrated into the "Ralph" command-line interface.
- 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.
-
Clone the repo:
git clone https://github.com/dree-max/Law-firm-RAG-Assistant.git cd Law-firm-RAG-Assistant -
Add your documents: Place
.txtfiles indata/legal_docs/.
Interactive Mode:
python ralph.pySingle Query:
python ralph.py "What is the termination policy?"