Skip to content

This project is helpful when user needs to feed long pdf files in order to ask questions about the contents of pdf. It implements similarity search on vector databases to reduce context size and inference time.

Notifications You must be signed in to change notification settings

AyushModi123/GPT-QA-doc-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

GPT-QA-doc-bot

This project is helpful when user needs to feed long pdf files in order to ask questions about the contents of pdf. It implements similarity search on vector databases to reduce context size and inference time. Streamlit is used for local hosting.

image

In above image, a research paper pdf is uploaded by the user which is converted into vector database first then based on the query, similarity search on vector indexes outputs most relevant information which is then fed into GPT model through OpenAI API as preprompt + context + query.

About

This project is helpful when user needs to feed long pdf files in order to ask questions about the contents of pdf. It implements similarity search on vector databases to reduce context size and inference time.

Topics

Resources

Stars

Watchers

Forks

Languages