add support for mistral (#1153)

### What problem does this PR solve?

#433 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
KevinHuSh
2024-06-14 11:32:58 +08:00
committed by GitHub
parent a25d32496c
commit 7dc39cbfa6
4 changed files with 141 additions and 3 deletions

View File

@ -29,7 +29,8 @@ EmbeddingModel = {
"Youdao": YoudaoEmbed,
"BaiChuan": BaiChuanEmbed,
"Jina": JinaEmbed,
"BAAI": DefaultEmbedding
"BAAI": DefaultEmbedding,
"Mistral": MistralEmbed
}
@ -52,7 +53,8 @@ ChatModel = {
"Moonshot": MoonshotChat,
"DeepSeek": DeepSeekChat,
"BaiChuan": BaiChuanChat,
"MiniMax": MiniMaxChat
"MiniMax": MiniMaxChat,
"Mistral": MistralChat
}