ragflow
ragflow copied to clipboard
Feat: Improve Recognizer.py performance
What problem does this PR solve?
For the create_inputs method based on np operation to replace for loop
Type of change
- [ ] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [x] Performance Improvement
- [ ] Other (please describe):