neo4j-labs / llm-graph-builder

Neo4j graph construction from unstructured data using LLMs
https://neo4j.com/labs/genai-ecosystem/llm-graph-builder/
Apache License 2.0
2.58k stars 416 forks source link

How to resolve the error when generating charts after the frontend uploads a PDF file? #875

Open miyuan12345 opened 3 weeks ago

miyuan12345 commented 3 weeks ago

I keep getting errors while generating charts, whether I pass a PDF file or a TXT file (attached image). Is there any way to solve this problem?

8eca5424d307af559019a3185d352fe b065bde1de64b0a4538f96d29fb1fcc
karanchellani commented 2 weeks ago

Hi @miyuan12345, can you share sample pdf or txt file you are trying to process, we will check why its failing.

miyuan12345 commented 2 weeks ago

Hi @miyuan12345, can you share sample pdf or txt file you are trying to process, we will check why its failing.

Okay, here are my PDF and TXT files: 4.1.pdf 4.1.txt

kartikpersistent commented 2 weeks ago

{81995696-51BD-41E0-A106-43E07C644ADA} {79EBB618-B785-4AE7-81CF-3D4043CC3511} Hi @miyuan12345 it is working at our end can you try on deployed version also share which specific llm you choose for extraction

miyuan12345 commented 2 weeks ago

I followed your video on Bilibili and didn't make any changes, so I'm not sure which specific LLM I chose for extraction. I also don't know where my code went wrong, but when deploying the environment and processing the requirements.txt file, I encountered many errors. I'm not sure if I made a mistake while handling the errors. Below is my requirements.txt file, and I'm using Python 3.9. Could you help me take a look? Thank you very much. requirements.txt