This is an automated email from the ASF dual-hosted git repository.
fanjia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 229756971c [Docs][Transform-v2][Embedding] Fix transform embedding
option name (embedding_model_provider -> model_provider) (#9925)
229756971c is described below
commit 229756971cd39dbbf1b0040efcff22cd0d7e3f19
Author: loupipalien <[email protected]>
AuthorDate: Thu Oct 9 16:32:27 2025 +0800
[Docs][Transform-v2][Embedding] Fix transform embedding option name
(embedding_model_provider -> model_provider) (#9925)
---
docs/en/transform-v2/embedding.md | 4 ++--
docs/zh/transform-v2/embedding.md | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/en/transform-v2/embedding.md
b/docs/en/transform-v2/embedding.md
index 5c5bd4bf1c..d113537ee8 100644
--- a/docs/en/transform-v2/embedding.md
+++ b/docs/en/transform-v2/embedding.md
@@ -124,7 +124,7 @@ When `modality` is not explicitly specified and `format` is
not `binary`, the sy
### model
-The specific embedding model to use. This depends on the
`embedding_model_provider`. For example, if using OPENAI, you
+The specific embedding model to use. This depends on the `model_provider`. For
example, if using OPENAI, you
might specify `text-embedding-3-small`.
### api_path
@@ -240,7 +240,7 @@ source {
transform {
Embedding {
plugin_input = "fake"
- embedding_model_provider = QIANFAN
+ model_provider = QIANFAN
model = bge_large_en
api_key = xxxxxxxxxx
secret_key = xxxxxxxxxx
diff --git a/docs/zh/transform-v2/embedding.md
b/docs/zh/transform-v2/embedding.md
index 31ba604600..9379264236 100644
--- a/docs/zh/transform-v2/embedding.md
+++ b/docs/zh/transform-v2/embedding.md
@@ -34,7 +34,7 @@
- 所有生成的 embedding 向量将以 float32 格式存储
- 如果您的模型或API返回其他精度格式(如 float64),插件会自动转换为 float32
-### embedding_model_provider
+### model_provider
用于生成 embedding 的模型提供商。常见选项包括 `AMAZON`、 `DOUBAO`、`QIANFAN`、`OPENAI` 等,同时可选择
`CUSTOM` 实现自定义 embedding
模型的请求以及获取。
@@ -117,7 +117,7 @@ vectorization_fields {
### model
-要使用的具体 embedding 模型。这取决于`embedding_model_provider`。例如,如果使用 OPENAI ,可以指定
`text-embedding-3-small`。
+要使用的具体 embedding 模型。这取决于`model_provider`。例如,如果使用 OPENAI ,可以指定
`text-embedding-3-small`。
### api_path
@@ -227,7 +227,7 @@ source {
transform {
Embedding {
plugin_input = "fake"
- embedding_model_provider = QIANFAN
+ model_provider = QIANFAN
model = bge_large_en
api_key = xxxxxxxxxx
secret_key = xxxxxxxxxx