rags
rags copied to clipboard
How to upload files?
I turn to page RAG Config, but it shows "File/URL paths (not editable)".So where can I upload PDFs?
Hi ,
I've got a chance to set filepath during this conversation at Home page :
But bot at Generated RAG Agent still unable to answer questions about the PDF :
@snassimr What if you ask a question whose answer is in the text instead of a figure? It is answering correctly?
@alexfilothodoros and @snassimr I tried creating a bot on llama2 paper and it did answer questions related to text though it was failing to answer queries on figure 2. It might be due to the issue with the pdf parser.
Maybe you need the GPT-4V model.
**EDIT
on second thought that might also not work. I forgot that GPT-4V doesn't accept pdf files.
Unsubscribe
On Sat, Nov 25, 2023 at 10:07 AM Alexandros Filothodoros < @.***> wrote:
Maybe you need the GPT-4V model.
— Reply to this email directly, view it on GitHub https://github.com/run-llama/rags/issues/7#issuecomment-1826367186, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCO6VRSH2MQERL6HCSSZXSDYGIJURAVCNFSM6AAAAAA7V3OIROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWGM3DOMJYGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I turn to page RAG Config, but it shows "File/URL paths (not editable)".So where can I upload PDFs?
I am not quite sure what's the point
Hi ,
Sorry for late answer . The issue was with pdf file name . Linux doesn't suffer blanks and file actually wasn't loaded at home page. After @jerryjliu point me on my mistake the PDF was loaded at home page and at "Generated RAG Agent" I get nice answer from Agent :
I think some Exception handling (in agent_utils.py -> load_data) and returning an appropriate answer to chat is favorable here .
Another issue (might be parser problem) that asking about Figure 2 returning answer about Figure 30 , but it;s another story . I guess we can benefit from this repo which primarily benefit to use agent to built agent and retriever/qa performance can be improved more and more ...
Regarding setting filepath - use bot at home page . Here the example for first filepath setting 👍
And continue with the bot until you get :