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.5k stars 389 forks source link

fireworks_v3p1_405b , ollama_llama3 - File extraction failed #678

Open abhishekkumar-27 opened 3 months ago

abhishekkumar-27 commented 3 months ago

'NoneType' object has no attribute 'split'

KmlNzrl commented 1 month ago

i used to have the same error. in my docker-compose file:

in llm.py file: elif "ollama" in model: env_value = os.getenv("LLM_MODEL_CONFIG_ollama") if env_value is None: raise ValueError("Environment variable LLM_MODEL_CONFIG_ollama is not set.") model_name, base_url = env_value.split(",") llm = ChatOllama(base_url=base_url, model=model_name)

i able to use ollama so far