From 47e3af4c47f3df7da3023d065e083daa583aae60 Mon Sep 17 00:00:00 2001 From: ihmaws <111378641+ihmaws@users.noreply.github.com> Date: Tue, 16 Apr 2024 12:42:40 -0400 Subject: [PATCH 1/2] Add support for Claude Haiku and Opus models on Bedrock - change default LLMModelId to Claude-3 Haiku as it is cheaper and more performant than claude-instant-v1 --- lambdas/bedrock-embeddings-and-llm/template.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lambdas/bedrock-embeddings-and-llm/template.yml b/lambdas/bedrock-embeddings-and-llm/template.yml index a435a09..ec8e92d 100644 --- a/lambdas/bedrock-embeddings-and-llm/template.yml +++ b/lambdas/bedrock-embeddings-and-llm/template.yml @@ -12,7 +12,7 @@ Parameters: LLMModelId: Type: String - Default: anthropic.claude-instant-v1 + Default: anthropic.claude-3-haiku-20240307-v1:0 AllowedValues: - amazon.titan-text-express-v1 - amazon.titan-text-lite-v1 @@ -21,7 +21,9 @@ Parameters: - anthropic.claude-instant-v1 - anthropic.claude-v2 - anthropic.claude-v2:1 + - anthropic.claude-3-haiku-20240307-v1:0 - anthropic.claude-3-sonnet-20240229-v1:0 + - anthropic.claude-3-opus-20240229-v1:0 - cohere.command-text-v14 - cohere.command-light-text-v14 - meta.llama2-13b-chat-v1 @@ -383,4 +385,4 @@ Outputs: QnAItemLambdaHookArgs: Description: QnA Item Lambda Hook Args (use with no_hits item for optional ask-the-LLM fallback) - Value: !GetAtt OutputSettings.QNAITEM_LAMBDAHOOK_ARGS \ No newline at end of file + Value: !GetAtt OutputSettings.QNAITEM_LAMBDAHOOK_ARGS From 85b08d6ea6e62e51326b62eb74423511f48c38f8 Mon Sep 17 00:00:00 2001 From: rstrahan Date: Tue, 2 Jul 2024 19:50:08 +0000 Subject: [PATCH 2/2] v0.1.16 --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5cbede..8c107cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.16] - 2024-07-02 +### Added +- Amazon Bedrock LLM plugin now suports anthropic.claude-3-haiku model - PR #28. + ## [0.1.15] - 2024-03-07 ### Added - Amazon Bedrock LLM plugin now suports anthropic.claude-3-sonnet model, and deprecates anthropic.claude-v1 - PR #26 & PR #27. @@ -84,7 +88,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release -[Unreleased]: https://github.com/aws-samples/qnabot-on-aws-plugin-samples/compare/v0.1.14...develop +[Unreleased]: https://github.com/aws-samples/qnabot-on-aws-plugin-samples/compare/main...develop +[0.1.16]: https://github.com/aws-samples/qnabot-on-aws-plugin-samples/releases/tag/v0.1.15 [0.1.15]: https://github.com/aws-samples/qnabot-on-aws-plugin-samples/releases/tag/v0.1.15 [0.1.14]: https://github.com/aws-samples/qnabot-on-aws-plugin-samples/releases/tag/v0.1.14 [0.1.13]: https://github.com/aws-samples/qnabot-on-aws-plugin-samples/releases/tag/v0.1.13