Skip to content

Commit

Permalink
fix: added inference profile mapping for nova models (#1560)
Browse files Browse the repository at this point in the history
  • Loading branch information
parhammmm authored Dec 11, 2024
1 parent a9b5b99 commit 24caf93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/rich-moles-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@llamaindex/community": patch
---

fix: added inference profile mapping for nova models"
7 changes: 7 additions & 0 deletions packages/community/src/llm/bedrock/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,13 @@ export const INFERENCE_TO_BEDROCK_MAP: Record<
[INFERENCE_BEDROCK_MODELS.US_META_LLAMA_3_2_90B_INSTRUCT]:
BEDROCK_MODELS.META_LLAMA3_2_90B_INSTRUCT,

[INFERENCE_BEDROCK_MODELS.US_AMAZON_NOVA_PRO_1]:
BEDROCK_MODELS.AMAZON_NOVA_PRO_1,
[INFERENCE_BEDROCK_MODELS.US_AMAZON_NOVA_LITE_1]:
BEDROCK_MODELS.AMAZON_NOVA_LITE_1,
[INFERENCE_BEDROCK_MODELS.US_AMAZON_NOVA_MICRO_1]:
BEDROCK_MODELS.AMAZON_NOVA_MICRO_1,

[INFERENCE_BEDROCK_MODELS.EU_ANTHROPIC_CLAUDE_3_HAIKU]:
BEDROCK_MODELS.ANTHROPIC_CLAUDE_3_HAIKU,
[INFERENCE_BEDROCK_MODELS.EU_ANTHROPIC_CLAUDE_3_SONNET]:
Expand Down

0 comments on commit 24caf93

Please sign in to comment.