Originally created by @Ezbaze on GitHub (Feb 5, 2025).
Installation Method
pipx
Environment
Open WebUI Version: v0.5.7
Operating System: Windows 11
Browser (if applicable): Chrome
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
I have embeding models downloaded in Ollama, I was expecting those to be used when changing the deafult embeding model. Or the settings page could state that the embeding model has to be from HF.
Actual Behavior:
It saves the RAG_EMBEDDING_MODEL setting but it fails to downlad / use the model. It casues Web Searches to fail etc.
Description
Bug Summary:
The RAG_EMBEDDING_MODEL setting requires a HF model name/id. It won't use the embeding models downloaded in Ollama.
Reproduction Details
Steps to Reproduce:
Change the Embeding Model to any Embeding Model downloaded with Ollama (eg. mxbai-embed-large:latest)
Save
Logs and Screenshots
Docker Container Logs:
ERROR [open_webui.retrieval.utils] Cannot determine model snapshot path: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'sentence-transformers/mxbai-embed-large:latest'.
Traceback (most recent call last):
File "C:\Users\ezba\pipx\venvs\open-webui\Lib\site-packages\open_webui\retrieval\utils.py", line 417, in get_model_path
model_repo_path = snapshot_download(**snapshot_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ezba\pipx\venvs\open-webui\Lib\site-packages\huggingface_hub\utils\_validators.py", line 106, in _inner_fn
validate_repo_id(arg_value)
File "C:\Users\ezba\pipx\venvs\open-webui\Lib\site-packages\huggingface_hub\utils\_validators.py", line 160, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'sentence-transformers/mxbai-embed-large:latest'.
WARNI [sentence_transformers.SentenceTransformer] No sentence-transformers model found with name sentence-transformers/mxbai-embed-large:latest. Creating a new one with mean pooling.
Additional Information
None
Originally created by @Ezbaze on GitHub (Feb 5, 2025).
## Installation Method
pipx
## Environment
- **Open WebUI Version:** v0.5.7
- **Operating System:** Windows 11
- **Browser (if applicable):** Chrome
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
I have embeding models downloaded in Ollama, I was expecting those to be used when changing the deafult embeding model. Or the settings page could state that the embeding model has to be from HF.
## Actual Behavior:
It saves the `RAG_EMBEDDING_MODEL` setting but it fails to downlad / use the model. It casues Web Searches to fail etc.
## Description
**Bug Summary:**
The `RAG_EMBEDDING_MODEL` setting requires a HF model name/id. It won't use the embeding models downloaded in Ollama.
## Reproduction Details
**Steps to Reproduce:**
1. Change the Embeding Model to any Embeding Model downloaded with Ollama (eg. mxbai-embed-large:latest)
2. Save
## Logs and Screenshots
**Docker Container Logs:**
```
ERROR [open_webui.retrieval.utils] Cannot determine model snapshot path: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'sentence-transformers/mxbai-embed-large:latest'.
Traceback (most recent call last):
File "C:\Users\ezba\pipx\venvs\open-webui\Lib\site-packages\open_webui\retrieval\utils.py", line 417, in get_model_path
model_repo_path = snapshot_download(**snapshot_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ezba\pipx\venvs\open-webui\Lib\site-packages\huggingface_hub\utils\_validators.py", line 106, in _inner_fn
validate_repo_id(arg_value)
File "C:\Users\ezba\pipx\venvs\open-webui\Lib\site-packages\huggingface_hub\utils\_validators.py", line 160, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'sentence-transformers/mxbai-embed-large:latest'.
WARNI [sentence_transformers.SentenceTransformer] No sentence-transformers model found with name sentence-transformers/mxbai-embed-large:latest. Creating a new one with mean pooling.
```
## Additional Information
None
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Ezbaze on GitHub (Feb 5, 2025).
Installation Method
pipx
Environment
Open WebUI Version: v0.5.7
Operating System: Windows 11
Browser (if applicable): Chrome
Confirmation:
Expected Behavior:
I have embeding models downloaded in Ollama, I was expecting those to be used when changing the deafult embeding model. Or the settings page could state that the embeding model has to be from HF.
Actual Behavior:
It saves the
RAG_EMBEDDING_MODELsetting but it fails to downlad / use the model. It casues Web Searches to fail etc.Description
Bug Summary:
The
RAG_EMBEDDING_MODELsetting requires a HF model name/id. It won't use the embeding models downloaded in Ollama.Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Docker Container Logs:
Additional Information
None