Newbie asks for help: Error with environment variables and then model loading #84
-
I have tried to run the tool in Windows and maybe it is not supported. Anyway, after the following cmds in Powershell:
I have created .env.ollama file in my Home dir with the following inside:
Then after launching the command
It seems to ignore my EDS_DEFAULT_EMBEDDING_MODEL using the default value. But it loads correctly the EDS_LLM_API_KEY, so maybe it is an input check bug? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
Thanks for reporting the issue! One possible reason is that the graphrag KB was created using the OpenAI embedding model "text-embedding-3-small", and once a KB is created, the embedder has to be fixed so that the previously embedded content can be read back correctly using the same embedder. We just updated a new version that will print out a warning if the default embedder and the KB embedder is not compatible. You can update your program and see if that was the reason. Also, you can use a new KB name, say "graphrag.ollama" so that a new KB is created using the correct local embedder. |
Beta Was this translation helpful? Give feedback.
-
Ok, now it seems to connect to the model since the error has changed.
This is the debug log with the errors: Now it seems more related to internal issues... Any suggestion? |
Beta Was this translation helpful? Give feedback.
-
I have tried another example with almost the same error:
Maybe the issue is that I am trying to run everything without Administration privilege? |
Beta Was this translation helpful? Give feedback.
-
Interesting. I think the other user also reported this problem from a Windows machine, but we have also tested this on a Windows machine before and it works fine. I will tested a bit more on the Windows env and see if we can reproduce the error. Thanks for reporting! |
Beta Was this translation helpful? Give feedback.
-
Maybe it is related to the fact that I have installed all tools (including
Ollama and Python) without the admin user but with a local one?
Il mer 29 gen 2025, 17:11 Feng ***@***.***> ha scritto:
… Interesting. I think the other user also reported this problem from a
Windows machine, but we have also tested this on a Windows machine before
and it works fine. I will tested a bit more on the Windows env and see if
we can reproduce the error. Thanks for reporting!
—
Reply to this email directly, view it on GitHub
<#84 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEQDIXSHXBVRYCP3IL5KTC32ND4UXAVCNFSM6AAAAABWBSPWGOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJZG42DQNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
And finally it works! The issue was defining Thank you again for you patience! |
Beta Was this translation helpful? Give feedback.
Ah, I see. The /api vs /v1 problem was subtle, it looked so natural lol. Yeah, the error message could be improved, similar to the KB mismatch issue. Thanks for reporting the issue!