Skip to content

Commit

Permalink
Updated additional LLM providers
Browse files Browse the repository at this point in the history
Fixes Issue 763 to include additional providers of LLMs
  • Loading branch information
srdas committed Apr 29, 2024
1 parent bca145d commit 817a8db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/jupyter-ai-magics/jupyter_ai_magics/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,12 +761,20 @@ class BedrockProvider(BaseProvider, Bedrock):
name = "Amazon Bedrock"
models = [
"amazon.titan-text-express-v1",
"amazon.titan-text-lite-v1",
"ai21.j2-ultra-v1",
"ai21.j2-mid-v1",
"cohere.command-light-text-v14",
"cohere.command-text-v14",
"cohere.command-r-v1:0",
"cohere.command-r-plus-v1:0",
"meta.llama2-13b-chat-v1",
"meta.llama2-70b-chat-v1",
"meta.llama3-8b-instruct-v1:0",
"meta.llama3-70b-instruct-v1:0",
"mistral.mistral-7b-instruct-v0:2",
"mistral.mixtral-8x7b-instruct-v0:1",
"mistral.mistral-large-2402-v1:0",
]
model_id_key = "model_id"
pypi_package_deps = ["boto3"]
Expand Down Expand Up @@ -794,6 +802,7 @@ class BedrockChatProvider(BaseProvider, BedrockChat):
"anthropic.claude-instant-v1",
"anthropic.claude-3-sonnet-20240229-v1:0",
"anthropic.claude-3-haiku-20240307-v1:0",
"anthropic.claude-3-opus-20240229-v1:0",
]
model_id_key = "model_id"
pypi_package_deps = ["boto3"]
Expand Down

0 comments on commit 817a8db

Please sign in to comment.