mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
Ollama embedding model Web Search function error #4024
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @so898 on GitHub (Feb 21, 2025).
Bug Report
Installation Method
Docker
Environment
Open WebUI Version: v0.5.16
Ollama (if applicable): v0.5.11
Operating System: macOS 15.2
Browser (if applicable): Chrome 131.0.6778.265
Confirmation:
Expected Behavior:
Web Search function with Ollama embedding model works.
Actual Behavior:
Not work, the webpage could not be embedded.
Description
Bug Summary:
Something wrong with the embed function with case Ollama embedding request could not be sent.
Reproduction Details
Steps to Reproduce:
Set up Ollama in the document configuration for embedding.
Do a web search with Ollama model.
Logs and Screenshots
Browser Console Logs:
None
Docker Container Logs:
Screenshots/Screen Recordings (if applicable):
None
Additional Information
This bug happens with v0.5.16. The old version has other problem with web search function like multiple search when error occurred.
However, web search is totally unusable with the new version.
Note
None.
@rgaricano commented on GitHub (Feb 21, 2025):
If you change to ollama embedd it's necessary to indicate a model for embed,
& (If this new model assigned embed info to vector space in a different way that one before it's necessary reset the database and reembed all docs).
Yes, this is a handicap for production places,
maybe in a future it's possible to have working togheter differents vector spaces or migrating tools....
@so898 commented on GitHub (Feb 21, 2025):
Yes, and I have config the RAG with Ollama embedding model from the beginning.
Here is my configuration for rag part.
@sir3mat commented on GitHub (Feb 21, 2025):
same with openai
open_webui.routers.retrieval] adding to collection file-4a723aa4-3146-4b0b-89cb-a4593b5f7d24 Invalid URL 'http:/172.18.21.137:80/embeddings': No host supplied 2025-02-21T15:59:42.292578158Z ERROR [open_webui.routers.retrieval] 'NoneType' object is not iterable 2025-02-21T15:59:42.292589868Z Traceback (most recent call last): File "/app/backend/open_webui/routers/retrieval.py", line 834, in save_docs_to_vector_db embeddings = embedding_function(@tjbck commented on GitHub (Feb 21, 2025):
Unable to reproduce with the following settings, I'd recommend you double check everything is configured correctly!