Skip to content

Commit

Permalink
add Gemini key (#1480)
Browse files Browse the repository at this point in the history
### 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 <[email protected]>
  • Loading branch information
hangters and aopstudio authored Jul 12, 2024
1 parent d29fd52 commit b96ba6f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions rag/llm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"BAAI": DefaultEmbedding,
"Mistral": MistralEmbed,
"Bedrock": BedrockEmbed,
"Groq": GroqChat
"Gemini":GeminiEmbed,
}


Expand All @@ -44,7 +44,8 @@
"Xinference": XinferenceCV,
"Tongyi-Qianwen": QWenCV,
"ZHIPU-AI": Zhipu4V,
"Moonshot": LocalCV
"Moonshot": LocalCV,
'Gemini':GeminiCV
}


Expand All @@ -61,7 +62,9 @@
"BaiChuan": BaiChuanChat,
"MiniMax": MiniMaxChat,
"Mistral": MistralChat,
"Bedrock": BedrockChat
'Gemini' : GeminiChat,
"Bedrock": BedrockChat,
"Groq": GroqChat
}


Expand Down

0 comments on commit b96ba6f

Please sign in to comment.