Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DashScope model wrapper into AgentScope #54

Merged
merged 21 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions src/agentscope/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
OpenAIDALLEWrapper,
OpenAIEmbeddingWrapper,
)
from .tongyi_model import (
TongyiWrapper,
TongyiChatWrapper,
from .dashscope_model import (
DashScopeWrapper,
qbc2016 marked this conversation as resolved.
Show resolved Hide resolved
DashScopeChatWrapper,
DashScopeWanxWrapper,
DashScopeEmbeddingWrapper,
)


Expand All @@ -35,8 +37,10 @@
"load_model_by_config_name",
"read_model_configs",
"clear_model_configs",
"TongyiWrapper",
"TongyiChatWrapper",
"DashScopeWrapper",
"DashScopeChatWrapper",
"DashScopeWanxWrapper",
"DashScopeEmbeddingWrapper",
]

_MODEL_CONFIGS: dict[str, dict] = {}
Expand Down
Loading