Skip to content
Snippets Groups Projects
Unverified Commit 270778e6 authored by Ravi Theja's avatar Ravi Theja Committed by GitHub
Browse files

Add Anthropic haiku model (#11916)

parent 8d6acbc1
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ CLAUDE_MODELS: Dict[str, int] = { ...@@ -13,6 +13,7 @@ CLAUDE_MODELS: Dict[str, int] = {
"claude-2.1": 200000, "claude-2.1": 200000,
"claude-3-opus-20240229": 180000, "claude-3-opus-20240229": 180000,
"claude-3-sonnet-20240229": 180000, "claude-3-sonnet-20240229": 180000,
"claude-3-haiku-20240307": 180000,
} }
......
...@@ -27,12 +27,12 @@ exclude = ["**/BUILD"] ...@@ -27,12 +27,12 @@ exclude = ["**/BUILD"]
license = "MIT" license = "MIT"
name = "llama-index-llms-anthropic" name = "llama-index-llms-anthropic"
readme = "README.md" readme = "README.md"
version = "0.1.5" version = "0.1.6"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = ">=3.8.1,<4.0" python = ">=3.8.1,<4.0"
llama-index-core = "^0.10.1" llama-index-core = "^0.10.1"
anthropic = "^0.17.0" anthropic = "^0.20.0"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
ipython = "8.10.0" ipython = "8.10.0"
......
...@@ -15,6 +15,7 @@ DEFAULT_ANTHROPIC_API_VERSION = "" ...@@ -15,6 +15,7 @@ DEFAULT_ANTHROPIC_API_VERSION = ""
ANTHROPIC_MULTI_MODAL_MODELS = { ANTHROPIC_MULTI_MODAL_MODELS = {
"claude-3-opus-20240229": 180000, "claude-3-opus-20240229": 180000,
"claude-3-sonnet-20240229": 180000, "claude-3-sonnet-20240229": 180000,
"claude-3-haiku-20240307": 180000,
} }
......
...@@ -27,12 +27,12 @@ exclude = ["**/BUILD"] ...@@ -27,12 +27,12 @@ exclude = ["**/BUILD"]
license = "MIT" license = "MIT"
name = "llama-index-multi-modal-llms-anthropic" name = "llama-index-multi-modal-llms-anthropic"
readme = "README.md" readme = "README.md"
version = "0.1.2" version = "0.1.3"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = ">=3.8.1,<4.0" python = ">=3.8.1,<4.0"
llama-index-core = "^0.10.1" llama-index-core = "^0.10.1"
anthropic = "0.17.0" anthropic = "0.20.0"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
ipython = "8.10.0" ipython = "8.10.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment