-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
[Bug] 调用ollama进行向量化失败 #6827
Comments
👀 @69gg Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
@69gg 你好! 我是Dosu,一个可以帮助您解决问题、回答疑问并成为贡献者的机器人。我会帮助您并等待人类维护者的到来。 I found a similar open issue regarding batch chunking not retrying previously failed embeddings. The suggested solution involves implementing a more robust retry mechanism that can handle batch retries programmatically. This includes modifying the retry logic to ensure that when a batch retry is initiated, it properly queues and processes each failed item again, rather than immediately failing. Additionally, enhancing the error handling logic to better differentiate between types of errors, such as rate limits, and implementing a more automated retry strategy for these specific cases could be beneficial. For now, using a JavaScript workaround in the Chrome Developer Console is a practical solution to automate the manual retry process [1]. In your case, the error message indicates a "Too Many Requests" error (status code 429) from the Ollama provider, which suggests that the requests are being rate-limited. Implementing a retry mechanism as described above might help in handling such rate limit errors more effectively. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
我使用了本地的ollama部署,没有限制什么 |
I've used local ollama deployment, no restrictions on anything |
📦 部署环境
Docker
📦 部署模式
服务端模式(lobe-chat-database 镜像)
📌 软件版本
v1.49.12
💻 系统环境
Other
🌐 浏览器
Edge
🐛 问题描述
在树莓派5B搭建的服务器版。
在进行量化时会出现:embeddingChunks error {
message: '{"error":{"message":"Error 429: Too Many Requests","name":"ResponseError","status_code":429},"errorType":"OllamaBizError","provider":"ollama"}',
name: 'EmbeddingError'
}
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: