ragflow/conf
pyyuhao ad56137a59
Feat: ​​OpenSearch's support for newly embedding models​​ (#10494)
### What problem does this PR solve?

fix issues:https://github.com/infiniflow/ragflow/issues/10402

As the newly distributed embedding models support vector dimensions max
to 4096, while current OpenSearch's max dimension support is 1536.
As I tested, the 4096-dimensions vector will be treated as a float type
which is unacceptable in OpenSearch.

Besides, OpenSearch supports max to 16000 dimensions by defalut with the
vector engine(Faiss). According to:
https://docs.opensearch.org/2.19/field-types/supported-field-types/knn-methods-engines/

I added max to 10240 dimensions support for OpenSearch, as I think will
be sufficient in the future.

As I tested , it worked well on my own server (treated as knn_vector)by
using qwen3-embedding:8b as the embedding model:
<img width="1338" height="790" alt="image"
src="https://github.com/user-attachments/assets/a9b2d284-fcf6-4cea-859a-6aadccf36ace"
/>


### Type of change

- [x] New Feature (non-breaking change which adds functionality)


By the way, I will still focus on the stuff about
Elasticsearch/Opensearch as search engines and vector databases.

Co-authored-by: 张雨豪 <zhangyh80@chinatelecom.cn>
2025-10-11 19:58:12 +08:00
..
infinity_mapping.json Added infinity rank_feature support (#9044) 2025-07-29 09:14:23 +08:00
llm_factories.json Fix: incorrect agent template #10393 (#10491) 2025-10-11 19:37:42 +08:00
mapping.json Make the update script shorter. (#4854) 2025-02-10 18:18:49 +08:00
os_mapping.json Feat: ​​OpenSearch's support for newly embedding models​​ (#10494) 2025-10-11 19:58:12 +08:00
private.pem build python version rag-flow (#21) 2024-01-15 08:46:22 +08:00
public.pem build python version rag-flow (#21) 2024-01-15 08:46:22 +08:00
service_conf.yaml Feat: add admin CLI and admin service (#10186) 2025-09-22 10:37:49 +08:00