fix: disable default install for anthropic

This commit is contained in:
Tadashi 2024-09-05 23:18:53 +07:00
parent 3267e6c654
commit 318895b287
No known key found for this signature in database
GPG Key ID: 399380A00CC9028D
2 changed files with 8 additions and 9 deletions

View File

@ -176,14 +176,14 @@ if config("LOCAL_MODEL", default=""):
} }
# additional LLM configurations # additional LLM configurations
KH_LLMS["claude"] = { # KH_LLMS["claude"] = {
"spec": { # "spec": {
"__type__": "kotaemon.llms.chats.LCAnthropicChat", # "__type__": "kotaemon.llms.chats.LCAnthropicChat",
"model_name": "claude-3-5-sonnet-20240620", # "model_name": "claude-3-5-sonnet-20240620",
"api_key": "your-key", # "api_key": "your-key",
}, # },
"default": False, # "default": False,
} # }
# KH_LLMS["gemini"] = { # KH_LLMS["gemini"] = {
# "spec": { # "spec": {
# "__type__": "kotaemon.llms.chats.LCGeminiChat", # "__type__": "kotaemon.llms.chats.LCGeminiChat",

View File

@ -30,7 +30,6 @@ dependencies = [
"langchain>=0.1.16,<0.2.0", "langchain>=0.1.16,<0.2.0",
"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",
"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",
"llama-index-vector-stores-chroma>=0.1.9", "llama-index-vector-stores-chroma>=0.1.9",