ragflow/rag
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
..
app refactor error message of qwen (#3074) 2024-10-29 10:08:08 +08:00
llm fix: TypeError: only length-1 arrays can be converted to Python scalars (#3211) 2024-11-06 11:15:00 +08:00
nlp accelerate term weight calculation (#3206) 2024-11-05 13:11:26 +08:00
res Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
svr refactor auto keywords and auto question (#2990) 2024-10-23 17:00:56 +08:00
utils Replaced redis with Valkey (#3164) 2024-11-02 20:05:12 +08:00
__init__.py build python version rag-flow (#21) 2024-01-15 08:46:22 +08:00
benchmark.py Add RAGFlow benchmark (#2387) 2024-09-12 19:01:00 +08:00
raptor.py add API for tenant function (#2866) 2024-10-16 16:10:24 +08:00
settings.py Fix logger error (#2643) 2024-09-29 09:49:59 +08:00