mirror of
https://github.com/Cinnamon/kotaemon.git
synced 2025-06-26 23:19:56 +00:00
fix: limit fastapi version (#229)
This commit is contained in:
parent
4b0b28227d
commit
e2ed3564ce
@ -176,22 +176,22 @@ if config("LOCAL_MODEL", default=""):
|
||||
}
|
||||
|
||||
# additional LLM configurations
|
||||
# KH_LLMS["claude"] = {
|
||||
# "spec": {
|
||||
# "__type__": "kotaemon.llms.chats.LCAnthropicChat",
|
||||
# "model_name": "claude-3-5-sonnet-20240620",
|
||||
# "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["claude"] = {
|
||||
"spec": {
|
||||
"__type__": "kotaemon.llms.chats.LCAnthropicChat",
|
||||
"model_name": "claude-3-5-sonnet-20240620",
|
||||
"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",
|
||||
|
@ -30,8 +30,11 @@ dependencies = [
|
||||
"langchain>=0.1.16,<0.2.0",
|
||||
"langchain-community>=0.0.34,<0.1.0",
|
||||
"langchain-openai>=0.1.4,<0.2.0",
|
||||
"langchain-anthropic",
|
||||
"langchain-google-genai",
|
||||
"llama-hub>=0.0.79,<0.1.0",
|
||||
"llama-index>=0.10.40,<0.11.0",
|
||||
"fastapi<=0.112.1",
|
||||
"llama-index-vector-stores-chroma>=0.1.9",
|
||||
"llama-index-vector-stores-lancedb",
|
||||
"llama-index-vector-stores-milvus",
|
||||
|
Loading…
x
Reference in New Issue
Block a user