montaque22 / node-red-contrib-ai-intent

MIT License
8 stars 2 forks source link

Ollama local error #6

Open juliendf opened 1 month ago

juliendf commented 1 month ago

Hi,

Thanks for providing this Node, I am extremely enthusiastic about it and all the possibilities it can open.

"When I'm trying out the User example with Local LLM, I get the following error: TypeError: Cannot read properties of undefined (reading 'forEach')

Node-RED is running in Docker, and Ollama is running locally on my machine. I've configured it to use 'http://host.docker.internal:11434' as the API endpoint with 'llama3.1:latest' model. When I run Node-RED, I see that Ollama is triggered (GPU resources increased), but then I get this error in Node-RED.

Any ideas on how to solve this ?

Thanks

montaque22 commented 1 month ago

@juliendf Thanks! Can you export and post the exact flow you are using (remove any information) that cause the error? this can help me debug the issues. Also can you post a screenshot of the complete error you see?