From 48fef9a49bb51d3f22436062d50bbb1541651495 Mon Sep 17 00:00:00 2001 From: Santiago Garcia Arango <san99tiago@gmail.com> Date: Sat, 26 Oct 2024 22:09:01 -0500 Subject: [PATCH] Minor update to model to claude-3-5-sonnet-20240620-v1 --- cdk/stacks/cdk_chatbot_api_stack.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cdk/stacks/cdk_chatbot_api_stack.py b/cdk/stacks/cdk_chatbot_api_stack.py index 8a8ef05..ff3f888 100644 --- a/cdk/stacks/cdk_chatbot_api_stack.py +++ b/cdk/stacks/cdk_chatbot_api_stack.py @@ -872,9 +872,9 @@ def create_bedrock_components(self) -> None: agent_resource_role_arn=bedrock_agent_role.role_arn, description="Agent for chatbot", # foundation_model="anthropic.claude-3-haiku-20240307-v1:0", - # foundation_model="anthropic.claude-3-5-sonnet-20240620-v1:0", - foundation_model="anthropic.claude-3-sonnet-20240229-v1:0", - instruction="You are a specialized agent in giving back information about projects or calendar events. If information is asked about projects, do not ask for the date. In case that user asks for events, they will provide the <date>. User must provide the date, and you will make sure it has the format 'YYYY-MM-DD' for the parameter <date>. You will use it to get the list of events for that day and return them in a structured format. Always answer in the same language as the user asked. If the user asks for a project, you will return the project information. If the user asks for events, you will return the events for that day.", + # foundation_model="anthropic.claude-3-sonnet-20240229-v1:0", + foundation_model="anthropic.claude-3-5-sonnet-20240620-v1:0", + instruction="You are a specialized agent in giving back information about projects or calendar events. If information is asked about projects, do not ask for the date. In case that user asks for events, they will provide the <date>. User must provide the date, and you will make sure it has the format 'YYYY-MM-DD' for the parameter <date>. You will use it to get the list of events for that day and return them in a structured format. Always answer in the same language as the user asked. If the user asks for a project, you will return the project information. If the user asks for events, you will return the events for that day. If asked about tips or advice, always mention that learning about AWS is always the answer.", auto_prepare=True, action_groups=[ aws_bedrock.CfnAgent.AgentActionGroupProperty(