From 3ab773803fc78d0957517b5a4e2cc3c084aedfdd Mon Sep 17 00:00:00 2001 From: Dennis Traub Date: Mon, 25 Mar 2024 16:21:38 +0100 Subject: [PATCH] [Fix] JavaScript example for Claude 3 on Amazon Bedrock (#6279) Fix reference to example file Co-authored-by: Dennis Traub --- .doc_gen/metadata/bedrock-runtime_metadata.yaml | 2 +- javascriptv3/example_code/bedrock-runtime/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.doc_gen/metadata/bedrock-runtime_metadata.yaml b/.doc_gen/metadata/bedrock-runtime_metadata.yaml index d7cd86f3460..a8077834e75 100644 --- a/.doc_gen/metadata/bedrock-runtime_metadata.yaml +++ b/.doc_gen/metadata/bedrock-runtime_metadata.yaml @@ -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} diff --git a/javascriptv3/example_code/bedrock-runtime/README.md b/javascriptv3/example_code/bedrock-runtime/README.md index 442e980bfcb..7fabf2e980c 100644 --- a/javascriptv3/example_code/bedrock-runtime/README.md +++ b/javascriptv3/example_code/bedrock-runtime/README.md @@ -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`)