Skip to content

Commit

Permalink
add claude-3-5-haiku to pipeline and prices (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinmukhamedm authored Nov 7, 2024
1 parent 4d567e1 commit d97d13c
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 2 deletions.
44 changes: 44 additions & 0 deletions frontend/lib/db/seed.json
Original file line number Diff line number Diff line change
Expand Up @@ -3550,6 +3550,28 @@
"input_cached_price_per_million": null,
"additional_prices": {}
},
{
"id": "e9cfc547-dfc9-4c5e-bca8-2b1be33bf90f",
"created_at": "2024-11-07 23:10:03.41329+00",
"updated_at": "2024-11-07 23:10:03.41329+00",
"provider": "anthropic",
"model": "claude-3-5-haiku-20241022",
"input_price_per_million": 1.0,
"output_price_per_million": 5.0,
"input_cached_price_per_million": null,
"additional_prices": {}
},
{
"id": "a4d8e406-5c4a-415e-a092-fba2fe859377",
"created_at": "2024-11-07 23:10:50.192319+00",
"updated_at": "2024-11-07 23:10:50.192319+00",
"provider": "anthropic",
"model": "claude-3-5-haiku-latest",
"input_price_per_million": 1.0,
"output_price_per_million": 5.0,
"input_cached_price_per_million": null,
"additional_prices": {}
},
{
"id": "d1f31e4c-e47d-43d5-b332-9425310168ce",
"created_at": "2024-10-16 17:01:24.987554+00",
Expand Down Expand Up @@ -4085,6 +4107,28 @@
"input_cached_price_per_million": null,
"additional_prices": {}
},
{
"id": "189c918c-be74-457a-a020-dec5a215995b",
"created_at": "2024-11-07 23:15:54.583619+00",
"updated_at": "2024-11-07 23:15:54.583619+00",
"provider": "bedrock-anthropic",
"model": "claude-3-5-haiku",
"input_price_per_million": 1.0,
"output_price_per_million": 5.0,
"input_cached_price_per_million": null,
"additional_prices": {}
},
{
"id": "30c83d8f-392e-49c4-8a0a-1904a54aae7d",
"created_at": "2024-11-07 23:12:16.680925+00",
"updated_at": "2024-11-07 23:12:16.680925+00",
"provider": "bedrock-anthropic",
"model": "claude-3-5-haiku-20241022-v1:0",
"input_price_per_million": 1.0,
"output_price_per_million": 5.0,
"input_cached_price_per_million": null,
"additional_prices": {}
},
{
"id": "f4bbe24d-c832-4ce0-9fe8-0796d4aa82df",
"created_at": "2024-10-16 17:40:47.013058+00",
Expand Down
12 changes: 10 additions & 2 deletions frontend/lib/pipeline/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,12 @@ const providerMapping: { provider: string; models: LanguageModel[] }[] = [
name: 'anthropic:claude-3-opus'
},
{
id: 'anthropic:claude-3-5-sonnet-20240620',
id: 'anthropic:claude-3-5-sonnet-20241022',
name: 'anthropic:claude-3-5-sonnet'
},
{
id: 'anthropic:claude-3-5-haiku-20241022',
name: 'anthropic:claude-3-5-haiku'
}
]
},
Expand Down Expand Up @@ -250,10 +254,14 @@ const providerMapping: { provider: string; models: LanguageModel[] }[] = [
id: 'bedrock:anthropic.claude-3-opus-20240229-v1:0',
name: 'bedrock:anthropic.claude-3-opus-20240229-v1:0'
},
{
id: 'bedrock:anthropic.claude-3-5-sonnet-20241022-v1:0',
name: 'bedrock:anthropic.claude-3-5-sonnet-20241022-v1:0'
},
{
id: 'bedrock:anthropic.claude-instant-v1',
name: 'bedrock:anthropic.claude-instant-v1'
}
},
]
},
{
Expand Down

0 comments on commit d97d13c

Please sign in to comment.