ksztone-huanggonghao 0dff64f6ad
fix: TypeError: only length-1 arrays can be converted to Python scalars (#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)
2024-11-06 11:15:00 +08:00
..
2024-11-02 20:05:12 +08:00
2024-09-12 19:01:00 +08:00
2024-10-16 16:10:24 +08:00
2024-09-29 09:49:59 +08:00