An open API service indexing awesome lists of open source software.

https://github.com/aditya-10012002/pdf-chatbot_rag

A PDF Chatbot to query information out of the selected PDFs you upload.
https://github.com/aditya-10012002/pdf-chatbot_rag

chromadb huggingfaceembeddings langchain langchain-goog pdf-chatbot retrieval-augmented-generation

Last synced: 2 months ago
JSON representation

A PDF Chatbot to query information out of the selected PDFs you upload.

Awesome Lists containing this project

README

        

# PDF Chatbot with RAG
## Overview
First, we run the ```create_database.py``` which makes the uploaded documents in the Data folder pass through the ```HuggingFaceEmbeddings``` and chunks of data are stored using the ```Chroma``` database in your local.



- Put any number of documents you wanna use as context into the ```Data``` folder.
- Generate your Google Gemini API key and configure it.
- Then run the ```query_data.py``` file with your query as the arg parameter.

## Result

![pdf chatbot.jpg]()