Skip to content

A Document-based Question Answering system by implementing Retrieval-Augmented Generation (RAG) using OpenAI's API.

Notifications You must be signed in to change notification settings

SannketNikam/Document-QnA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Document-based Question Answering System

Overview

This project implements a Document-based Question Answering (QA) system by implement Retrieval Augmented Generation (RAG) using OpenAI's API. The system is designed to answer questions based on the content of documents provided to it.

Features

  • Utilizes OpenAI's powerful language model for accurate and context-aware answers.
  • Supports various document formats such as plain text, PDF, and HTML.
  • Can handle a wide range of questions on diverse topics.
  • Provides easy-to-use API endpoints for integration into other applications.
  • Customizable parameters for fine-tuning performance.

Note

I have removed the API key but if you want to run this project then you have to enter the API key

Installation

To use this system, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/SannketNikam/Document-QnA.git
  1. Navigate to the project directory:
cd Document-QnA
  1. Create a Conda environment named "documentqna" and activate it
conda create --name documentqna
conda activate documentqna
  1. Install the required dependencies
pip install -r requirements.txt