You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have managed to set up the Document Store (using a DOCX loader and Faiss Store Provider) and the Chatflow using Conversational Retrieval QA Chain, ChatOllama, Buffer Memory and Vector Document Store nodes.
When I try to test the chat, any prompt returns "fetch failed".
It seems that there is a problem accessing Ollama. I have both Ollama (v0.3.12) & Flowise (v2.1.2) installed natively (not Docker) on Windows 10. I have Ollama running on the default port. If I hit http://localhost:11434/ I get "Ollama is running". Note: I have successfully accessed Ollama using Open WebUI (Open WebUI is not running while I did these tests).
Any suggestions would be gratefully received.
Console stack-trace
2024-10-11 20:11:12 [ERROR]: [server]: Error: fetch failed
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async post (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules\ollama\dist\shared\ollama.9c897541.cjs:114:20)
at async Ollama.processStreamableRequest (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules\ollama\dist\shared\ollama.9c897541.cjs:232:25)
at async ChatOllama._streamResponseChunks (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\ollama\dist\chat_models.cjs:474:24)
at async ChatOllama._streamIterator (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\language_models\chat_models.cjs:93:34)
at async ChatOllama.transform (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:394:9)
at async wrapInputForTracing (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:267:30)
at async pipeGeneratorWithSetup (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\utils\stream.cjs:245:19)
at async StringOutputParser._transformStreamWithConfig (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:288:26)
at async StringOutputParser.transform (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\output_parsers\transform.cjs:36:9)
at async RunnableSequence._streamIterator (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:1208:30)
at async RunnableSequence.transform (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:394:9)
at async RunnableBinding.transform (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:840:9)
at async RunnableSequence._streamIterator (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:1208:30)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to follow Leon van Zyl's video 'Build a FREE AI Chatbot with LLAMA 3.2 & FlowiseAI (NO CODE)' https://www.youtube.com/watch?v=lJOZiRoZNJw
I have managed to set up the Document Store (using a DOCX loader and Faiss Store Provider) and the Chatflow using Conversational Retrieval QA Chain, ChatOllama, Buffer Memory and Vector Document Store nodes.
When I try to test the chat, any prompt returns "fetch failed".
It seems that there is a problem accessing Ollama. I have both Ollama (v0.3.12) & Flowise (v2.1.2) installed natively (not Docker) on Windows 10. I have Ollama running on the default port. If I hit http://localhost:11434/ I get "Ollama is running". Note: I have successfully accessed Ollama using Open WebUI (Open WebUI is not running while I did these tests).
Any suggestions would be gratefully received.
Console stack-trace
2024-10-11 20:11:12 [ERROR]: [server]: Error: fetch failed
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async post (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules\ollama\dist\shared\ollama.9c897541.cjs:114:20)
at async Ollama.processStreamableRequest (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules\ollama\dist\shared\ollama.9c897541.cjs:232:25)
at async ChatOllama._streamResponseChunks (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\ollama\dist\chat_models.cjs:474:24)
at async ChatOllama._streamIterator (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\language_models\chat_models.cjs:93:34)
at async ChatOllama.transform (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:394:9)
at async wrapInputForTracing (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:267:30)
at async pipeGeneratorWithSetup (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\utils\stream.cjs:245:19)
at async StringOutputParser._transformStreamWithConfig (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:288:26)
at async StringOutputParser.transform (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\output_parsers\transform.cjs:36:9)
at async RunnableSequence._streamIterator (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:1208:30)
at async RunnableSequence.transform (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:394:9)
at async RunnableBinding.transform (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:840:9)
at async RunnableSequence._streamIterator (C:\Users\Jon\AppData\Roaming\npm\node_modules\flowise\node_modules@langchain\core\dist\runnables\base.cjs:1208:30)
Beta Was this translation helpful? Give feedback.
All reactions