Closed as not planned
Description
LocalAI version:
- v2.23.0-cublas-cuda12
Environment, CPU architecture, OS, and Version:
- Ubuntu 22.04 x86_64
Describe the bug
- When using rerank twice on a chatbot created with Dify, an error may occur without response.
-- The first time, it is simply reranked in the knowledge base.
-- The second time, it is reranked in the Multi-path Retrieval mode. (It seems to be occurred the error.)
To Reproduce
- Dify chatbot application
-
Create knowledge
Retrieval Setting : Vector Search
Rerank Model : BAAI/bge-reranker-v2-m3 -
Create a chatbot application
Add the knowledge base in the context.
Retrieval Setting : Rerank Model
Rerank Model : BAAI/bge-reranker-v2-m3 -
Enter content in the box to start debugging the Chatbot
There is no problem depending on the content of the question, but the following error may occur.
Expected behavior
- Some kind of response will be returned.
Logs
4:12AM INF Success ip=172.18.0.10 latency=25.650528ms method=POST status=200 url=/v1/rerank
4:12AM ERR Server error error="rpc error: code = Unknown desc = Exception calling application: 'Result' object has no attribute 'results'" ip=172.18.0.10 latency=12.944511ms method=POST status=500 url=/v1/rerank
Additional context