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

fix bug - Tongyiproxy embedding model error #2018

Merged
merged 4 commits into from
Sep 18, 2024

Conversation

mzaispace
Copy link
Contributor

raw issues:

#1748

why cause this bug:batch size too longer may cause embedding error

qwen online embedding models must not be larger than 25

error detail:

{"status_code": 400, "request_id": "cabd7ddb-386c- 9a25-a488-94fb05b4f8b8", "code": "InvalidParameter", "message": "batch size is invalid, it should not be larger than 25.: payload.input.contents", "output": null, "usage": null}

how to solve this issue

data streaming processing

How Has This Been Tested?

Use tongyi embedding: text-embedding-v1
Start DB-GPT and pass in the pdf file for parsing

…too longer may cause embedding error,eg: qwen online embedding models must not be larger than 25 3, error detail:batch size is invalid, it should not be larger than 25
@github-actions github-actions bot added the fix Bug fixes label Sep 13, 2024
csunny
csunny previously approved these changes Sep 15, 2024
Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very useful bugfix, thank you very much for your contribution, r+

Copy link
Collaborator

@Aries-ckt Aries-ckt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@csunny csunny merged commit 6ce620f into eosphoros-ai:main Sep 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants