thinley4 / Rag-Chatbot

0 stars 1 forks source link

Implement Upstash redis - Pdf should be load in Upstash redis #3

Open thinley4 opened 1 month ago

thinley4 commented 1 month ago

Pdf should be load in Upstash redis

shershah1024 commented 1 month ago

You can't load a pdf in redis. Instead, upload it amazon s3 or supabase storage and store the public url or presigned url inr edis

dineshsutihar commented 1 month ago

Hi @shershah1024 , we are currently trying to implement Upstash Redis to replace MemoryVectorStore for storing vector embeddings of the PDF splits. However, we are not storing the actual PDFs in Redis since we already have a separate database dedicated to managing the PDFs. Redis will specifically handle and retrieve document embeddings for efficiency.

If you have any suggestions or improvements, feel free to share so we can ensure everyone is aligned.

shershah1024 commented 1 month ago

Ah OK! I was just responding to the query above from @thinley4

thinley4 commented 1 month ago

@shershah1024 do you have any suggestion on this? https://github.com/thinley4/Rag-Chatbot/issues/3#issuecomment-2349244443