Skip to content

Commit

Permalink
Update foundation_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dorukozturk authored Oct 23, 2024
1 parent 6e78950 commit e84f948
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit e84f948

Please sign in to comment.