fix: add langchain google dependency (#329)

* add-gemini-deps

* uncomment gemeni flow settings
This commit is contained in:
saidmukhamad 2024-09-27 07:15:42 +03:00 committed by GitHub
parent 79b309396b
commit 94cc3a96c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 8 deletions

View File

@ -191,14 +191,14 @@ KH_LLMS["claude"] = {
},
"default": False,
}
# KH_LLMS["gemini"] = {
# "spec": {
# "__type__": "kotaemon.llms.chats.LCGeminiChat",
# "model_name": "gemini-1.5-pro",
# "api_key": "your-key",
# },
# "default": False,
# }
KH_LLMS["gemini"] = {
"spec": {
"__type__": "kotaemon.llms.chats.LCGeminiChat",
"model_name": "gemini-1.5-pro",
"api_key": "your-key",
},
"default": False,
}
KH_LLMS["groq"] = {
"spec": {
"__type__": "kotaemon.llms.ChatOpenAI",

View File

@ -33,6 +33,7 @@ dependencies = [
"langchain>=0.1.16,<0.2.16",
"langchain-community>=0.0.34,<=0.2.11",
"langchain-openai>=0.1.4,<0.2.0",
"langchain-google-genai>=1.0.3,<2.0.0",
"langchain-anthropic",
"langchain-cohere>=0.2.4,<0.3.0",
"llama-hub>=0.0.79,<0.1.0",