Find answers from the community

Updated 3 months ago

Hello

Hello,
New here I want to build a search engine like a QnA bot a user can have files like pdf, txt, words etc. Then he/she could question and bot should be able to answer and specify source files etc for more details, how can i achieve this as many users be uploading files a cannot load full index in memory to server if for example each user has 1 GB of data for n number of users.
L
h
4 comments
If you want to share one bot between every user, I have an example here (flask_demo and index_server):
https://github.com/logan-markewich/llama_index_starter_pack/tree/main/flask_react

Tutorial using the above repo:
https://gpt-index.readthedocs.io/en/latest/guides/tutorials/fullstack_app_guide.html

Otherwise, you'll have to do some mapping to create an index per user
Thanks @Logan M let me check this out.
@Logan M i see it only deals with one type of index like txt, pdf, etc not mix or in combination.
@hammad Using the SimpleDirectoryReader, most combinations of files will work fine. Just have to save the files to disk temporarily and point the reader to them
Add a reply
Sign up and join the conversation on Discord