### What problem does this PR solve? Improve the float compare for LocalAIRerank ### Type of change - [x] Refactoring