mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Model add exceptions #796
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 @9264Yf on GitHub (Nov 11, 2025).
Self Checks
Dify version
7.9.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
At the model Settings, adding the model Pro/BAAI/bge-m3 was successful, but this Embedding model cannot be used at the knowledge base embedding
✔️ Expected Behavior
At the model Settings, adding the model Pro/BAAI/bge-m3 was successful, but this Embedding model cannot be used at the knowledge base embedding
❌ Actual Behavior
Models can be added normally
@dosubot[bot] commented on GitHub (Nov 11, 2025):
The ability to use an embedding model for knowledge base embedding in Dify is determined by the provider and model metadata, specifically whether the model is registered with the
TEXT_EMBEDDINGtype and has a valid credential schema. If a model like Pro/BAAI/bge-m3 can be added in model settings but isn't available for knowledge base embedding, it's likely due to missing or incorrect type registration or schema/configuration errors in the provider or model metadata—there are no hardcoded restrictions by model name, only schema-driven validation and exceptions for unsupported models. To resolve this, check that your provider config and model metadata correctly declare support forTEXT_EMBEDDINGand that the credential schema matches what Dify expects for embedding models. Recent updates have improved validation and error messaging for embedding model selection in knowledge base workflows, so ensuring your model is properly registered should make it selectable and usable for embedding tasks.See code details
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
