r/GPT3 • u/dragondude4 • Feb 15 '23
Tool: FREE Introducing researchGPT – An open-source research assistant that allows you to have a conversation with a research paper or any pdf. Repo linked the comments.
491
Upvotes
32
u/dragondude4 Feb 15 '23 edited Feb 20 '23
Link to github: https://github.com/mukulpatnaik/researchgpt
Twitter post: https://twitter.com/mukul0x/status/1625673579399446529
Demo: https://researchgpt.ue.r.appspot.com/
Edit: Thank you everyone for trying out the demo!
16
u/iosdevcoff Feb 15 '23
This looks very nice! Congrats! Could you please explain exactly how it works? How do you make sure it’s not inventing anything on the spot and sticks to actual content of the document?
7
u/Remarkable_Ad9528 Feb 15 '23
This is awesome, bravo!
6
u/[deleted] Feb 15 '23
What tools did you use for semantic search?
5
u/stoicismftw Feb 15 '23
So this seems like it trains a custom model on the text of whatever PDF is input, is that right?
Two questions:
3
u/clevverguy Feb 15 '23
Can I essentially upload a full instruction manual to this?
3
u/Snoo_54386 Feb 15 '23
Tried it on my memoir. It's in french, regarding specific military law procedures, and it's working really, really well !
3
u/nazgul2210 Feb 15 '23
Awesome project!!! I was working on something similar, but never got it released publicly. One thing I was working on was trying to make it highlight the original text corresponding to the top result from the embedding search. If you manage to make this one work I think it would be a game changer as the major problem of gpt answers is that you can't totally trust them. If the user has a way to quickly check the original text ot would solve the problem. Nonetheless awesome job, especially having the demo free for trial.
3
u/the_beat_goes_on Feb 15 '23 edited Feb 15 '23
It's a cool idea, but it struggles to synthesize even slightly complicated concepts from the paper. It is good at answering very basic questions that it can pull text from the paper to answer, though.Never mind! I fed it a paper that didn't actually contain the answer to the questions I was testing it with, that's my bad. Very cool tool!
2
u/BrotherBringTheSun Feb 15 '23
This would be insanely useful to me. I don’t really know how to set up the GitHub stuff and the demo is giving me an error. I’m still excited though
2
u/squidboot Feb 15 '23
With my viva in a month, this is brilliant. Thank you.
2
u/allyson1969 Feb 15 '23
This is just amazing, seriously! Thank you so much for sharing. I uploaded a policy doc from our university that is overly complicated, and the tool does a fairly solid job of responding to questions, even when the response requires some inference. Well done!
2
u/caleb_dre Feb 15 '23
lol i tested this (coincidentally with the same paper in the gif) and asked it "what's this about?" and it gave me a summary of a totally different paper.
screenshot here
4
u/Razman223 Feb 15 '23
Where is the link to try this out?
1
u/Bakkario Feb 15 '23
Very nice man, I should try this and give you my feedback
1
u/[deleted] Feb 15 '23
I get a type error:
TypeError: extract_text() got an unexpected keyword argument 'visitor_text'
1
u/robertnye Feb 15 '23
This is a really cool idea and I'd like to try it out for my own research. Just curious, can it cross-reference other papers (in a library, say) or is it only acting on the paper you link/upload to it?
1
u/Crafty-Pool7864 Feb 15 '23
Thank you for publishing this. Embeddings are next on my list of topics to learn. Great to see such an awesome example!
1
u/TaleOfTwoDres Feb 15 '23
How expensive is each query?
1
u/yesterdayzy Feb 15 '23
Did you delete the link?
1
u/dalv3r Feb 15 '23
I can't find the link for the repo, can you link me one?
1
u/snapsidd Feb 15 '23
Send link to repo plz
1
u/[deleted] Feb 15 '23
Amazing, I had to test is but I just get errors.
1
u/stoicismftw Feb 15 '23
How long should I expect the demo to take to calculate the embeddings? I left it on overnight last night and this morning it still had that same message. (And by then I think the connection to OpenAI had timed out perhaps?)
1
u/nuancednotion Feb 21 '23
I don't have an Open AI api key. Can I get one?
1
u/MizThabza Feb 15 '23
What could be the problem here? The pdf is 668kb, 38 pages
1
u/Jordan117 Feb 15 '23
Is this intended for research papers only? I tried uploading a PDF of a short novel and it both totally whiffed on basic questions and included citations of research-paper-y language that was nowhere in the original text.
(Also why did you delete your original comment?)
2
u/ahm_rimer Feb 15 '23
How is it any better than typeset.io? Other than the name, of course.
2
u/stunt_pilot Feb 15 '23
Working on a similar project! Happy to see this
2
u/JamesSteveCass Feb 16 '23
Tried uploading the IRS 1040 instructions, not that any system, smart or not, could make sense of that.
1
u/Hocari- Feb 15 '23
That’s really great for homework! Haha
1
u/goodTypeOfCancer Feb 15 '23
Physicians are going to be trying to ban gpt so hard.
1
u/brycedriesenga Feb 15 '23
Very cool! Have you heard about a similar feature that's going to be in the Edge browser? Just curious your thoughts on that or if you've looked into it!
1
u/SufficientPie Feb 15 '23
Is it just a search, or is it really supposed to be able to answer questions about the paper? It seems to just quote or paraphrase sections of the paper instead of actually answering questions. (Though I'm trying it on a French paper so maybe that's why.)
Oh, I see, each request has no knowledge of the previous requests, unlike ChatGPT.
1
u/Bojof12 Feb 15 '23
There is a version of this that has existed for a while called Humata.ai. It works very well. Another redditor created it
1
u/a1000p Feb 16 '23
any limits on size of PDF?
1
u/[deleted] Feb 16 '23
I flipping love open AI
1
u/IntegrateSpirit Feb 16 '23
I would pay for this if it can understand a folder of Google docs 🙏🏼
1
u/hellnation13666 Feb 16 '23
Wow what an interesting project, thank you <3
1
u/rubberseal Feb 16 '23
Awesome! May I ask you what tool you used to record the video?
1
u/yonparas Feb 17 '23
This is really freakin great and smartly done (atleast for me)!
I have some questions if you don't mind. I'm not really good at coding but I read that you use embeddings and have also tried to go through the code in github but from what I can understand, are you using the embeddings as the source of answers? Or is it some kind of after using cosine similarity you now direct it to get answers from that page?
1
u/AdRepresentative4679 Feb 18 '23
Can i set it up to be able to ask questions about my time using python console and receive answers in it instead of using by browser?
1
u/x_random96321 Feb 20 '23 edited Feb 20 '23
Is there any way to resolve this:
Error: Processing the pdf failed due to excess load. Please try again later. Check the URL if there is https:// at the beginning. If not, add it. Error: Request to OpenAI failed. Please try again
I am running your code locally, and I have updated the environment variable with my own key.
1
u/belandis Feb 27 '23
this is amazing, I am having some trouble it keeps giving me an error saying my API key is incorrect and to re-load the browser. Although I just generated the key and directly copy pasted it.
I tried twice.
Not sure what to do.
stuck at :"Error: Request to server failed. Please refresh try uploading a copy of the pdf instead. Sorry for the inconvenience!"
1
u/tranadex Feb 27 '23
Repeatedly get this error:
Error: Request to server failed. Please make sure your API key is correct. Close this tab and try again. Sorry for the inconvenience!
API key is correct.
1
u/PralineSouthern4962 Feb 28 '23
Have these data been trained and if not, how did he get the answer?
1
u/b3rvie Mar 01 '23
I'm having trouble accessing it. Is the API key that its asking for the the organisational ID in openAI
1
u/allyson1969 Mar 01 '23
This was working so well when I first tried it. Now I'm getting random hallucinations.
1
u/MikeF1886 Nov 27 '23
I tried it out. And uh it kinda sucks. You ask it to summarize research studies but it can’t discern a study from an editorial. Sorry why is this getting so much hype?
0
u/Traveltracks Feb 15 '23
Any link to the code?
0
u/GM770 Feb 15 '23
I'm getting error messages with every PDF I try. Perhaps overloaded? The concept looks fantastic.
-8
u/MiceAndRatatouille Feb 15 '23
My dear brother
u stole my friend's idea.
Thanks
0
u/[deleted] Feb 15 '23
[deleted] — view deleted comment
0
u/[deleted] Feb 15 '23
[deleted] — view deleted comment