Replies: 3 comments 2 replies
-
|
This issue is usually caused by the embedding model not being properly registered or linked in the dataset configuration, which makes Dify silently fall back to the default model—often a chat model—for embedding tasks. This fallback can happen if the dataset’s embedding_model_provider or embedding_model fields are missing or misconfigured, or if there are credential issues (especially in offline or migrated environments) [source]. Here’s what you can do:
Recent Dify updates have improved error handling and validation for embedding model configuration, so make sure you’re on a recent version and that your dataset’s embedding model settings are correct [source]. If you need to manually fix linkage in the database, you’ll want to ensure the provider, model, and credential tables are all correctly connected for your embedding model. Let me know if you need step-by-step SQL or shell commands for this. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
When I delete the chat model Qwen3-14B, I only keep one embeding model in models list. I also make sure the knowledge make sure has been configured with Embeding-4B model. I did a test that I added a pdf doc and with same process like before. I clicked the 预览快 button and want to preview the split block result. I checked dify-api docker logs, I found below error. the dify still want to find Qwen3-14B, but I have delete it from models. It so strange that why dify still want to use correct Embeding-4B. Even the Embeding-4B model has some confiugration errors. I should found some error logs in Embeding-4B, but I can not find them. Below is the error logs of dify-api |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I firstly added two models, one is Qwen3-14 for chat, Qwen3-4b-embeding for crate RAG embeding. I create a RAG database and set the Embeding model with Qwen3-4b-embeding. Then I upload a pdf file and start to process. But I found the embed model did not have any logs while dify process embeding data instead of the Qwen3-14 chat model was doing these embeding work. The embed model docker logs just show some health log. Its so strange about this.
From the model provider page, just the Qwen3-14B display in the first place.
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions