Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: TypeError: only length-1 arrays can be converted to Python scala…
…rs (infiniflow#3211) ### What problem does this PR solve? fix "TypeError: only length-1 arrays can be converted to Python scalars" while using cohere embedding model. ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) ![image](https://github.com/user-attachments/assets/2c21a69f-cd76-4d25-b320-058964812db8)
- Loading branch information