Skip to content

Commit

Permalink
[Fix] JavaScript example for Claude 3 on Amazon Bedrock (#6279)
Browse files Browse the repository at this point in the history
Fix reference to example file

Co-authored-by: Dennis Traub <[email protected]>
  • Loading branch information
DennisTraub and DennisTraub authored Mar 25, 2024
1 parent ddd00e7 commit 3ab7738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .doc_gen/metadata/bedrock-runtime_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ bedrock-runtime_Claude3_Text:
excerpts:
- description: Invoke Anthropic Claude 3 to generate text.
snippet_files:
- javascriptv3/example_code/bedrock-runtime/models/ai21_labs_jurassic2/jurassic2.js
- javascriptv3/example_code/bedrock-runtime/models/anthropic_claude/claude_3.js
services:
bedrock-runtime: {InvokeModel}

Expand Down
2 changes: 1 addition & 1 deletion javascriptv3/example_code/bedrock-runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Code excerpts that show you how to call individual service functions.
- [Text generation with AI21 Labs Jurassic-2](models/ai21_labs_jurassic2/jurassic2.js) (`InvokeModel`)
- [Text generation with Amazon Titan Text G1](models/amazon_titan/titan_text.js) (`InvokeModel`)
- [Text generation with Anthropic Claude 2](models/anthropic_claude/claude_2.js) (`InvokeModel`)
- [Text generation with Anthropic Claude 3](models/ai21_labs_jurassic2/jurassic2.js) (`InvokeModel`)
- [Text generation with Anthropic Claude 3](models/anthropic_claude/claude_3.js) (`InvokeModel`)
- [Text generation with Anthropic Claude Instant](models/anthropic_claude/claude_instant_1.js) (`InvokeModel`)
- [Text generation with Anthropic Claude using a response stream](models/anthropic_claude/claude_3.js) (`InvokeModelWithResponseStream`)
- [Text generation with Meta Llama 2 Chat](models/meta_llama2/llama2_chat.js) (`InvokeModel`)
Expand Down

0 comments on commit 3ab7738

Please sign in to comment.