Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复zhipu-api向量化失败问题 #3912

Merged
merged 3 commits into from
May 1, 2024

Conversation

pearjelly
Copy link
Contributor

  1. 使用向量计算方式METRIC_INNER_PRODUCT时启用normalize_L2会导致向量化失败
  2. 长文档循环处理texts时,增加重试极致,降低单片文档失败导致整个文档向量化失败的概率

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 28, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 30, 2024
@zRzRzRzRzRzRzR zRzRzRzRzRzRzR merged commit cbc28d7 into chatchat-space:master May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants