diff --git a/src/cohere/manually_maintained/cohere_aws/client.py b/src/cohere/manually_maintained/cohere_aws/client.py index 60addcc7d..3e88d701b 100644 --- a/src/cohere/manually_maintained/cohere_aws/client.py +++ b/src/cohere/manually_maintained/cohere_aws/client.py @@ -39,7 +39,7 @@ def __init__( """ if not AWS_DEPS_AVAILABLE: raise CohereError("AWS dependencies not available. Please install boto3 and sagemaker.") - self._client = boto3.client() + self._client = boto3.client("sagemaker") if os.environ.get('AWS_DEFAULT_REGION') is None: os.environ['AWS_DEFAULT_REGION'] = aws_region self._sess = sage.Session(sagemaker_client=self._service_client)