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.56k stars 411 forks source link

Backend Installation Slow Due to Heavy Dependencies Like PyTorch When Using Only OpenAI Endpoints #845

Open Sinnaeve opened 3 weeks ago

Sinnaeve commented 3 weeks ago

Hi,

On DEV branch, deploying the app locally take a lot of time in particular the backend. Requirement.txt file from the backend contains packages (sentence-transformers, effdet) that have heavy dependencies such as pytorch for example, but if I use openai LLM and embedding model I'm not sure for what we purpose use those packages. So my question si two fold:

kartikpersistent commented 3 weeks ago

620