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

batch提取embedding,避免文本chunk数量过多(>1000)之后报empty response from server 错误 #338

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

garyfanhku
Copy link
Contributor

chunk_size较小时,一个文档/知识库一次embedding request会包括超过千条文本chunks,这时很容易embedding失败。

@yaojin3616
Copy link
Collaborator

thanks for code

@yaojin3616 yaojin3616 merged commit 660f79f into dataelement:main Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants