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

Mistral embedding model excessive tokens error #297

Open
jamescalam opened this issue May 21, 2024 · 2 comments
Open

Mistral embedding model excessive tokens error #297

jamescalam opened this issue May 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@jamescalam
Copy link
Member

For MistralAI when creating embeddings with mistral-embed:

MistralAPIException: Status: 400. Message: {"object":"error","message":"Too many tokens in batch. Max is 16384 got 17555","type":"invalid_request_error","param":null,"code":null}

Should add handling for this error.

@jamescalam jamescalam added the bug Something isn't working label May 21, 2024
@Gallisatyricon
Copy link

I have the same bug... to follow

@Siraj-Aizlewood Siraj-Aizlewood self-assigned this Sep 29, 2024
@Siraj-Aizlewood
Copy link
Contributor

I've started looking into this. Close to some sort of solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants