2023-12-26 11:41:53 +08:00
|
|
|
############################# Attention ########################
|
|
|
|
|
|
|
|
# The Code in model workers all copied from
|
|
|
|
# https://github.com/chatchat-space/Langchain-Chatchat/blob/master/server/model_workers
|
|
|
|
|
|
|
|
#################################################################
|
|
|
|
|
|
|
|
from .base import *
|
|
|
|
from .zhipu import ChatGLMWorker
|
|
|
|
from .minimax import MiniMaxWorker
|
|
|
|
from .xinghuo import XingHuoWorker
|
|
|
|
from .qianfan import QianFanWorker
|
|
|
|
from .fangzhou import FangZhouWorker
|
|
|
|
from .qwen import QwenWorker
|
|
|
|
from .baichuan import BaiChuanWorker
|
|
|
|
from .azure import AzureWorker
|
|
|
|
from .tiangong import TianGongWorker
|
|
|
|
from .openai import ExampleWorker
|
2024-03-28 20:12:36 +08:00
|
|
|
|
|
|
|
|
|
|
|
IMPORT_MODEL_WORKERS = [
|
|
|
|
ChatGLMWorker, MiniMaxWorker, XingHuoWorker, QianFanWorker, FangZhouWorker,
|
|
|
|
QwenWorker, BaiChuanWorker, AzureWorker, TianGongWorker, ExampleWorker
|
|
|
|
]
|
|
|
|
|
|
|
|
MODEL_WORKER_SETS = [tool.__name__ for tool in IMPORT_MODEL_WORKERS]
|
|
|
|
|