Skip to content

Commit d3d4b76

Browse files
committed
fix: update model name in MultiModalEmbedding call
1 parent ebf9df0 commit d3d4b76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/models_provider/impl/aliyun_bai_lian_model_provider/model

apps/models_provider/impl/aliyun_bai_lian_model_provider/model/embedding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def embed_documents(
5454
dashscope.base_http_api_url = self.api_base
5555
multimodal_input = [{"text": text} for text in texts]
5656
resp = dashscope.MultiModalEmbedding.call(
57-
model="tongyi-embedding-vision-plus",
57+
model=self.model_name,
5858
input=multimodal_input, # type: ignore
5959
**self.optional_params
6060
)

0 commit comments

Comments
 (0)