Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: TypeError: only length-1 arrays can be converted to Python scalars #3211

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

ksztone-huanggonghao
Copy link
Contributor

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

@ksztone-huanggonghao ksztone-huanggonghao changed the title fix TypeError: only length-1 arrays can be converted to Python scalars fix: TypeError: only length-1 arrays can be converted to Python scalars Nov 5, 2024
@KevinHuSh KevinHuSh added the ci Continue Integration label Nov 6, 2024
@KevinHuSh KevinHuSh merged commit 0dff64f into infiniflow:main Nov 6, 2024
2 checks passed
jhaiq pushed a commit to jhaiq/ragflow that referenced this pull request Nov 30, 2024
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continue Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants