Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

siliconflow support bge-3 && bce-v1 embedding (#7198)

Weaxs67b9fdaad7f0
diff --git a/api/core/model_runtime/model_providers/siliconflow/text_embedding/bce-embedding-base-v1.yaml b/api/core/model_runtime/model_providers/siliconflow/text_embedding/bce-embedding-base-v1.yaml
new file mode 100644
index 00000000000..710fbc04f6a
--- /dev/null
+++ b/api/core/model_runtime/model_providers/siliconflow/text_embedding/bce-embedding-base-v1.yaml
@@ -0,0 +1,5 @@
+model: netease-youdao/bce-embedding-base_v1
+model_type: text-embedding
+model_properties:
+ context_size: 512
+ max_chunks: 1
diff --git a/api/core/model_runtime/model_providers/siliconflow/text_embedding/bge-m3.yaml b/api/core/model_runtime/model_providers/siliconflow/text_embedding/bge-m3.yaml
new file mode 100644
index 00000000000..f0b12dd420a
--- /dev/null
+++ b/api/core/model_runtime/model_providers/siliconflow/text_embedding/bge-m3.yaml
@@ -0,0 +1,5 @@
+model: BAAI/bge-m3
+model_type: text-embedding
+model_properties:
+ context_size: 8192
+ max_chunks: 1