feat: support Tongyi Qwen model of alibaba

This commit is contained in:
Han Fangyuan
2023-11-19 22:42:44 +08:00
parent 061d8a3a5f
commit 4ce37f84e4
5 changed files with 200 additions and 1 deletions

View File

@@ -43,4 +43,8 @@ def create_bot(bot_type):
elif bot_type == const.CLAUDEAI:
from bot.claude.claude_ai_bot import ClaudeAIBot
return ClaudeAIBot()
elif bot_type == const.TONGYI:
from bot.tongyi.tongyi_qwen_bot import TongyiQwenBot
return TongyiQwenBot()
raise RuntimeError