-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
32 lines (29 loc) · 860 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from typing import Type, Dict
from class_interface import ClassInterface
from ark.dipuDada import DipuDada
from ark.deepseekModel import DeepSeekArk
from ark.doubao256kModel import DouBao256kModel
from google.gemini import Gemini
from moonShort.moonshot import Moonshot
from mistral.mistralLarge import Mistral
from openAI.chatGPT import OpenAI
from siliconFlow.siliconFlow import SiliconFlow
from deepseek.deepseek import DeepSeek
from dashscope.bailian import BaiLian
from dashscope.qwqPlus import QwqPlus
# 定义类映射配置
class_map_config: Dict[str, Type["ClassInterface"]] = {
"a": DipuDada,
"b": BaiLian,
"c": DouBao256kModel,
"d": DeepSeekArk,
"e": Moonshot,
"f": Mistral,
"j": OpenAI,
"h": SiliconFlow,
"g": Gemini,
"i": DeepSeek,
"k": QwqPlus,
}
# 定义脑图生成模型
MODEL_GENERATE_MIND = "c"