Skip to content

dgeyakeerthi/fine-print-decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ Fine Print Decoder

A simple AI-based application that helps users understand PDF documents by answering questions using Retrieval-Augmented Generation (RAG).

The system retrieves relevant content from the document and provides answers along with Section and Clause references.

πŸš€ Features

  • Upload any PDF document
  • Ask questions in natural language
  • Retrieves relevant content using FAISS
  • Generates answers using a local LLM (Ollama - LLaMA3)
  • Displays Section, Clause, and snippet for each answer
  • Maintains chat history

🧠 Tech Stack

  • Python
  • Streamlit
  • LangChain
  • FAISS
  • Ollama (LLaMA 3)

πŸ“ Project Structure

fine-print-decoder/ │── app.py # Streamlit UI │── rag.py # RAG logic │── requirements.txt │── README.md

βš™οΈ Setup

  1. Clone the repository:

git clone cd fine-print-decoder

  1. Create virtual environment:

python -m venv venv venv\Scripts\activate

  1. Install dependencies:

pip install -r requirements.txt

  1. Install Ollama and run model:

ollama pull llama3 ollama run llama3

  1. Run the app:

streamlit run app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages