dify icon indicating copy to clipboard operation
dify copied to clipboard

Add Volcengine Doubao-embedding model error

Open dn833 opened this issue 9 months ago • 3 comments

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)” WechatIMG4163

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

dn833 avatar May 15 '24 12:05 dn833

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! 🚀

dosubot[bot] avatar May 15 '24 12:05 dosubot[bot]

fixed in #4431

sinomoe avatar May 15 '24 12:05 sinomoe

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


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.

dosubot[bot] avatar May 15 '24 13:05 dosubot[bot]