Skip to content

MdParwez/Gen_AI_Legal_-Document_RAG_Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Legal Document Q&A System (RAG with Cohere)

This project is a Retrieval-Augmented Generation (RAG) based Legal Document Question Answering System built using:

  • 🦜 LangChain
  • πŸ“„ PDF loaders
  • ⚑ Cohere Embeddings & LLM
  • πŸ“š Chroma vector store

πŸ“Œ Features

  • βœ… Upload legal PDF documents
  • βœ… Chunk and embed text using Cohere's embed-english-v3.0
  • βœ… Store document vectors in a local Chroma DB
  • βœ… Ask natural language questions about the PDF
  • βœ… Get AI-generated answers with source references
  • βœ… Streamlit UI for easy interaction

πŸ“· Demo

Screenshot (998)


πŸ—οΈ Tech Stack

Tool Purpose
LangChain Orchestrate RAG pipeline
Cohere Embeddings + LLM for Q&A
Chroma Vector DB for semantic search
Streamlit Web UI
dotenv Local secret handling
PyPDF2 PDF parsing

About

A Gen AI Legal RAG Chatbot That Read and Answer Your Legal Document and give summary with source.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages