Skip to content

This repository contains evaluations of LLM-based Retrieval-Augmented Generation (RAG) pipelines tailored for the legal domain. It currently features RAG with three different LLMs: Mistral, OpenAI, and Phi3:Medium.

License

Notifications You must be signed in to change notification settings

aditisinghh17/LegalRAG-Evaluation

Repository files navigation

Assessment of Legal Domain-Specific RAG Pipelines Using Diverse LLMs

COMPONENTS OF RAG SYSTEM

  1. LLMs Used : ChatGPT Turbo-3.5, Phi3:Medium, Mistral
  2. Embeddings : OpenAI
  3. Vector Store : Pinecone
  4. LangChain
  5. Chunk size = 1000, chunk overlap = 200

DATASET

  1. Knowledge Base : https://huggingface.co/datasets/ninadn/indian-legal
  2. Q/A Set (generated synthetically with GPT-3.5 Turbo) : Q/A Dataset

About

This repository contains evaluations of LLM-based Retrieval-Augmented Generation (RAG) pipelines tailored for the legal domain. It currently features RAG with three different LLMs: Mistral, OpenAI, and Phi3:Medium.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published