Skip to content

AyeshaIrshad1337/ResearchEase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ResearchEase

This project implements a PDF-based Question and Answer system using LangChain, Hugging Face, and ChromaDB.

Features

  • Load multiple PDF files
  • Extract and process text from PDFs
  • Create embeddings using Hugging Face models
  • Interactive Q&A interface with conversational AI

Prerequisites

  • Python 3.8+
  • Hugging Face API token
  • LangChain API key

Installation

  1. Clone the repository:
git clone <repository-url>
cd PDF-QnA
  1. Create and activate virtual environment:
python -m venv env
source env/bin/activate  # Linux/Mac
env\Scripts\activate     # Windows
  1. Install dependencies:
pip install langchain langchain_huggingface langchain_chroma pypdf

Setup

  1. Place your PDF files in the data directory
  2. Set up your environment variables when prompted:
    • LangChain API key
    • Hugging Face API token

Usage

Run the main script:

python main.py
  • Enter your API credentials when prompted

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages