run-llama / rags

Build ChatGPT over your data, all with natural language
MIT License
6.2k stars 637 forks source link

Agent is ready , how to query pdf ? #9

Closed snassimr closed 9 months ago

snassimr commented 9 months ago

Hi ,

I've got a chance to set filepath during this conversation at Home page :

image image image

But bot at Generated RAG Agent page still unable to answer questions about the PDF :

image

How to query specific PDF ? Where exactly put the pdf ? Now it's at "rags" sub-folder named "files"

jerryjliu commented 9 months ago

@snassimr off the top of my head, can you name the file to something more friendly without spaces? e.g. llama2_paper.pdf

i think the whitespaces are messing up the parsing

snassimr commented 9 months ago

Yep . The problem was in file naming