dify
dify copied to clipboard
Add Volcengine Doubao-embedding model error
Self Checks
- [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] Please do not modify this template :) and fill in all the required fields.
Dify version
0.6.8
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
When I add Volcengine Doubao-embedding ,got the error message
“2 validation errors for EmbeddingUsage tokens none is not an allowed value (type=type_error.none.not_allowed) total_tokens none is not an allowed value (type=type_error.none.not_allowed)”
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Hey there, @dn833! 👋 I'm Dosu, a friendly bot here to lend a hand with bugs, answer your questions, and guide you on your journey to becoming a contributor. While we wait for a human maintainer, I'm diving into your issue to get things rolling. Expect a detailed follow-up soon! 🚀
fixed in #4431
It looks like the issue you encountered with the Volcengine Doubao-embedding model has been addressed and fixed in #4431. If you're still experiencing problems or have any further questions, feel free to reach out for more assistance.
Details
Sources
- Failed to add embedding models in LocalAI to dify
- Support xinference embedding model
- api/tests/integration_tests/model_runtime/volcengine_maas/test_embedding.py
- api/core/model_runtime/model_providers/volcengine_maas/volcengine_maas.yaml
- api/.env.example
- api/tests/integration_tests/model_runtime/volcengine_maas/test_llm.py
- api/core/model_runtime/model_providers/volcengine_maas/errors.py
About Dosu This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.