diff --git a/api/core/model_runtime/model_providers/jina/text_embedding/text_embedding.py b/api/core/model_runtime/model_providers/jina/text_embedding/text_embedding.py index 5033f0f748a396..ceb79567d54ca2 100644 --- a/api/core/model_runtime/model_providers/jina/text_embedding/text_embedding.py +++ b/api/core/model_runtime/model_providers/jina/text_embedding/text_embedding.py @@ -57,7 +57,7 @@ def transform_jina_input_text(model, text): data = {"model": model, "input": [transform_jina_input_text(model, text) for text in texts]} if model == "jina-embeddings-v3": - data["task_type"] = "retrieval.passage" + data["task"] = "text-matching" try: response = post(url, headers=headers, data=dumps(data))