diff --git a/cdk/examples/generative_ai_rag/web-app/pages/foundation_model.py b/cdk/examples/generative_ai_rag/web-app/pages/foundation_model.py index 620efa11..8938b844 100644 --- a/cdk/examples/generative_ai_rag/web-app/pages/foundation_model.py +++ b/cdk/examples/generative_ai_rag/web-app/pages/foundation_model.py @@ -4,7 +4,7 @@ import json from botocore.exceptions import ClientError -st.caption("Using Calude 3 Haiku from Anthropic") +st.caption("Using Calude 3.5 Sonnet V2 from Anthropic") @st.cache_data def get_parameter(name): @@ -38,7 +38,7 @@ def get_parameter(name): client = boto3.client("bedrock-runtime") # Set the model ID, e.g., Claude 3 Haiku. - model_id = "anthropic.claude-3-haiku-20240307-v1:0" + model_id = "anthropic.claude-3-5-sonnet-20241022-v2:0" # Format the request payload using the model's native structure. native_request = {