Skip to content

Commit

Permalink
modify model_type names
Browse files Browse the repository at this point in the history
  • Loading branch information
qbc2016 committed Mar 13, 2024
1 parent a5b9648 commit 46a8df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agentscope/models/dashscope_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def __call__(
class DashScopeTextEmbeddingWrapper(DashScopeWrapper):
"""The model wrapper for DashScope Text Embedding API."""

model_type: str = "dashscope_embedding"
model_type: str = "dashscope_text_embedding"

def _register_default_metrics(self) -> None:
# Set monitor accordingly
Expand Down

0 comments on commit 46a8df1

Please sign in to comment.