LocalAI
LocalAI copied to clipboard
fix(reranker): tests and top_n check fix #7212
Description
This PR fixes #7212
Notes for Reviewers
- assert rerank results - sorting and cropping.
- 422 if
top_n <1 - let to omit
top_n
Signed commits
- [v] Yes, I signed my commits.
Deploy Preview for localai ready!
| Name | Link |
|---|---|
| Latest commit | d9f737eb39cbc8c1e590e203ea9a224b4a6e8d38 |
| Latest deploy log | https://app.netlify.com/projects/localai/deploys/6919efa9c544ee0008ce4402 |
| Deploy Preview | https://deploy-preview-7284--localai.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.