mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 19:29:01 +08:00
add Gemini key (#1480)
### What problem does this PR solve? #1036 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
This commit is contained in:
parent
d29fd52e14
commit
b96ba6f831
@ -33,7 +33,7 @@ EmbeddingModel = {
|
||||
"BAAI": DefaultEmbedding,
|
||||
"Mistral": MistralEmbed,
|
||||
"Bedrock": BedrockEmbed,
|
||||
"Groq": GroqChat
|
||||
"Gemini":GeminiEmbed,
|
||||
}
|
||||
|
||||
|
||||
@ -44,7 +44,8 @@ CvModel = {
|
||||
"Xinference": XinferenceCV,
|
||||
"Tongyi-Qianwen": QWenCV,
|
||||
"ZHIPU-AI": Zhipu4V,
|
||||
"Moonshot": LocalCV
|
||||
"Moonshot": LocalCV,
|
||||
'Gemini':GeminiCV
|
||||
}
|
||||
|
||||
|
||||
@ -61,7 +62,9 @@ ChatModel = {
|
||||
"BaiChuan": BaiChuanChat,
|
||||
"MiniMax": MiniMaxChat,
|
||||
"Mistral": MistralChat,
|
||||
"Bedrock": BedrockChat
|
||||
'Gemini' : GeminiChat,
|
||||
"Bedrock": BedrockChat,
|
||||
"Groq": GroqChat
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user