docker / genai-stack

Langchain + Docker + Neo4j + Ollama
Creative Commons Zero v1.0 Universal
4.07k stars 886 forks source link

genai-stack-pull-model-1 | Error: one of '--license', '--modelfile', '--parameters', '--system', or '--template' must be specified genai-stack-pull-model-1 exited with code 1 #126

Open gtpgg1013 opened 9 months ago

gtpgg1013 commented 9 months ago

Hi, Thank you for your help. I used yesterday in my virtualbox (ubuntu 20.04). But, suddenly since this morning, with this "genai-stack-pull-model-1 | Error: one of '--license', '--modelfile', '--parameters', '--system', or '--template' must be specified genai-stack-pull-model-1 exited with code 1" Error, I cannot make docker compose up. I used cmd "docker compose --profile linux up" and "docker compose --profile linux down" several times. I guess this situation occured because of Ollama model downloading, but it is really hard for debugging. Please help me, thank you so much.

gtpgg1013 commented 9 months ago

캡처

gtpgg1013 commented 9 months ago

image

raunakk commented 8 months ago

I was facing the same issue. There's a problemw ith the way the .env file is created. Check what is the environment variable being passed as "LLM". In my case it was: "llama2 #or any Ollama model tag, gpt-4, gpt-3.5, or claudev2" and not "llama2". Fix the .env file and loaded it in the terminal session and everything started working fine.