Skip to content

An interactive LLM-powered Streamlit app that enables users to upload PDFs, get TL;DR summaries, and ask questions using Retrieval-Augmented Generation (RAG) with Groq and LangChain.

Notifications You must be signed in to change notification settings

Ujjwal-Bajpayee/DocuQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ DocuQuery

DocuQuery is a Streamlit-based document assistant that allows users to upload PDF documents, receive concise summaries, and interactively query the content using a Retrieval-Augmented Generation (RAG) pipeline powered by LangChain and Groq's LLMs.

πŸš€ Features

  • πŸ“€ Upload one or more PDF files
  • 🧠 Summarize content using LLM (LLaMA3 via Groq)
  • πŸ’¬ Ask natural language questions based on the uploaded documents
  • πŸ” View source document excerpts for transparency

πŸ› οΈ Tech Stack

πŸ“¦ Installation

  1. Clone the repository
    git clone https://github.com/yourusername/docuquery.git
    cd docuquery
    
  2. Set up a virtual environment
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install dependencies
    pip install -r requirements.txt
    
  4. Create a .env file
    GROQ_API_KEY=your_groq_api_key_here
    
  5. Run the app
    streamlit run main.py
    
  6. ** Project Structure**
    β”œβ”€β”€ main.py             # Streamlit app
    β”œβ”€β”€ rag_pipeline.py     # RAG pipeline logic (load, embed, retrieve, summarize)
    β”œβ”€β”€ .env                # Environment variable for API key (DO NOT SHARE)
    β”œβ”€β”€ requirements.txt    # Python dependencies
    └── README.md           # Project documentation

About

An interactive LLM-powered Streamlit app that enables users to upload PDFs, get TL;DR summaries, and ask questions using Retrieval-Augmented Generation (RAG) with Groq and LangChain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages