Added support for Baichuan LLM (#934)

### What problem does this PR solve?

- Added support for Baichuan LLM

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

Co-authored-by: 海贼宅 <stu_xyx@163.com>
This commit is contained in:
yungongzi
2024-05-28 09:09:37 +08:00
committed by GitHub
parent ec6ae744a1
commit 9ffd7ae321
6 changed files with 169 additions and 3 deletions

View File

@ -26,7 +26,8 @@ EmbeddingModel = {
"ZHIPU-AI": ZhipuEmbed,
"FastEmbed": FastEmbed,
"Youdao": YoudaoEmbed,
"DeepSeek": DefaultEmbedding
"DeepSeek": DefaultEmbedding,
"BaiChuan": BaiChuanEmbed
}
@ -47,6 +48,7 @@ ChatModel = {
"Ollama": OllamaChat,
"Xinference": XinferenceChat,
"Moonshot": MoonshotChat,
"DeepSeek": DeepSeekChat
"DeepSeek": DeepSeekChat,
"BaiChuan": BaiChuanChat
}