fix: update requirements (#230)

This commit is contained in:
Tuan Anh Nguyen Dang (Tadashi_Cin) 2024-09-06 09:36:21 +07:00 committed by GitHub
parent e2ed3564ce
commit ef7e91fcae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 9 deletions

View File

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

View File

@ -31,7 +31,6 @@ dependencies = [
"langchain-community>=0.0.34,<0.1.0", "langchain-community>=0.0.34,<0.1.0",
"langchain-openai>=0.1.4,<0.2.0", "langchain-openai>=0.1.4,<0.2.0",
"langchain-anthropic", "langchain-anthropic",
"langchain-google-genai",
"llama-hub>=0.0.79,<0.1.0", "llama-hub>=0.0.79,<0.1.0",
"llama-index>=0.10.40,<0.11.0", "llama-index>=0.10.40,<0.11.0",
"fastapi<=0.112.1", "fastapi<=0.112.1",