Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] JavaScript example for Claude 3 on Amazon Bedrock #6279

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading