mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Voyageai reanker [rerank-lite-2] raise "plugins invoke error" #87
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gdmrw on GitHub (Mar 17, 2025).
Self Checks
Dify version
1.0.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Create a knowledge base and add any file, embedding model choose voyage-3-lite, retrieval setting select hybrid search, choose rerank model as [rerank-lite-2], go to retrieval test type anything, and click test.
✔️ Expected Behavior
No response
❌ Actual Behavior
@dosubot[bot] commented on GitHub (Mar 17, 2025):
Hey @gdmrw! 👋 I'm here to help you with any bugs, questions, or contributions while you wait for a human maintainer. Let's tackle this issue together!
A similar issue was previously reported and resolved. The issue titled "weight rerank not working properly in knowledge retrieval" was closed with a pull request that fixed the problem [1].
The "PluginInvokeError" you're encountering can be triggered by various conditions during plugin invocation, such as
InvokeBadRequestError, which occurs when there is a bad request [2]. In your case, the "400 Bad Request" error from the Voyage AI API at the '/v1/rerank' endpoint could be due to several typical scenarios, such as no file uploaded, too many files uploaded, or invalid metadata, among others [3].To address this issue, you might want to verify the input parameters being sent to the '/v1/rerank' endpoint. Ensure that the required parameters such as
model,credentials,query, anddocsare correctly formatted and provided. Additionally, check for any optional parameters likescore_thresholdandtop_nthat might be affecting the request [4].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