Find answers from the community

Updated 4 months ago

Hey all! I use create llama app to

At a glance

The community member is using the create llama app to create a new llamaindex app with FastAPI. They are interested in the new PDF viewer for citations, but it doesn't work because the viewer expects a URL, but the community member is using a local "data" folder with PDFs. They have tried using the DB reader but don't understand how to make it work properly. The community members suggest using an S3 reader to load data directly from an S3 bucket, but it seems to be incompatible with the latest version of Llamaindex. The community members are interested in a tutorial on this approach.

Useful resources
Hey all! I use create llama app to create the scaffolding for a new llamaindex app with FastAPI. I'm interested in the new pdf viewer for the citations. However - it doesn't seem to work in my case, because it's expecting a URL from the response but I have used the data source as "data" folder with pdfs. So it forward the filepath of my linux machine to the frontend and it fails to render the pdf. Has someone got it to work? How would I set this up so I can host the pdfs online and have them be visible? I have tried using the db reader but I don't seem to understand how to make it work properly. Any guides or walkthrus? Thank you
W
0
7 comments
I think, it requires the link to the PDF file. Can you check if it is being correctly passed.
It does require the link. I have a s3 bucket with the pdf sources. But the links are not passed correctly, because I'm using the simpledirectoryreader to ingest data from local /data folder. I want it to work from s3 or wherever allows me to use the docs with pdf viewer. Can you help me out with s3 loader? What steps should I take? Thank you🤠
Are you able to get it working? It seems to be incompatible with latest version of Llamaindex
@WhiteFang_Jr @dev_advocate how awesome would it be if you guys made a tutorial?
I havent tried it, can you share what error are you facing with s3 reader
@Logan M Any thoughts on this approach? I'm stoked to use it
Add a reply
Sign up and join the conversation on Discord