Skip to content

Commit

Permalink
Minor update to model to claude-3-5-sonnet-20240620-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
san99tiago committed Oct 27, 2024
1 parent ea5c14c commit 48fef9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cdk/stacks/cdk_chatbot_api_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 48fef9a

Please sign in to comment.