bhaskatripathi / pdfGPT

PDF GPT allows you to chat with the contents of your PDF file by using GPT capabilities. The most effective open source solution to turn your pdf files in a chatbot!
https://huggingface.co/spaces/bhaskartripathi/pdfGPT_Turbo
MIT License
6.98k stars 837 forks source link

`requirements > langchain-serve` is no longer maintained, any alternative? #114

Open benwinding opened 9 months ago

benwinding commented 9 months ago

Looks like this dependency is no longer maintained. Is there a replacement for this?

https://github.com/bhaskatripathi/pdfGPT/blob/3cfa4e8ba8d5a2d19512c3ce4ccf7d52f1c7a1ab/requirements.txt#L8

image

YvesleCurseur commented 9 months ago

Having the same issue, i try different things but nothing work.

ClimenteA commented 9 months ago

Maybe ollama?

https://python.langchain.com/docs/integrations/text_embedding/ollama https://github.com/ollama/ollama?tab=readme-ov-file#rest-api

bhaskatripathi commented 9 months ago

Hi Guys, I understand that it Langserve doesn't provides support now. In the hindsight, I acknowledge that I shouldn't have accepted their PR. However, you can use the original code of PDF-GPT from this location to build, deploy or customize it as per your requirements: https://huggingface.co/spaces/bhaskartripathi/pdfGPT_Turbo/blob/main/app.py https://huggingface.co/spaces/bhaskartripathi/pdfGPT_Turbo/blob/main/requirements.txt