Skip to content

Commit

Permalink
feat(bedrock): add claude 3.5 haiku (#785)
Browse files Browse the repository at this point in the history
* fix(bedrock):add model

---------

Signed-off-by: Rafael Mosca <[email protected]>
Co-authored-by: Alain Krok <[email protected]>
  • Loading branch information
aws-rafams and krokoko authored Nov 5, 2024
1 parent 4ee2eeb commit afbb186
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apidocs/namespaces/bedrock/classes/BedrockFoundationModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ can instantiate a `BedrockFoundationModel` object, e.g: `new BedrockFoundationMo
***

### ANTHROPIC\_CLAUDE\_3\_5\_HAIKU\_V1\_0

> `readonly` `static` **ANTHROPIC\_CLAUDE\_3\_5\_HAIKU\_V1\_0**: [`BedrockFoundationModel`](BedrockFoundationModel.md)
***

### ANTHROPIC\_CLAUDE\_3\_5\_SONNET\_V1\_0

> `readonly` `static` **ANTHROPIC\_CLAUDE\_3\_5\_SONNET\_V1\_0**: [`BedrockFoundationModel`](BedrockFoundationModel.md)
Expand Down
4 changes: 4 additions & 0 deletions src/cdk-lib/bedrock/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export class BedrockFoundationModel {
'amazon.titan-text-express-v1',
{ supportsAgents: true },
);
public static readonly ANTHROPIC_CLAUDE_3_5_HAIKU_V1_0 = new BedrockFoundationModel(
'anthropic.claude-3-5-haiku-20241022-v1:0',
{ supportsAgents: true },
);
public static readonly ANTHROPIC_CLAUDE_3_5_SONNET_V2_0 = new BedrockFoundationModel(
'anthropic.claude-3-5-sonnet-20241022-v2:0',
{ supportsAgents: true },
Expand Down

0 comments on commit afbb186

Please sign in to comment.