Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Zhang committed Dec 30, 2024
1 parent 3a601b3 commit 829024f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions libs/aws/langchain_aws/llms/sagemaker_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,14 @@ class LLMContentHandler(ContentHandlerBase[str, str]):
class SagemakerEndpoint(LLM):
"""Sagemaker Inference Endpoint models.
To use with a pre-deployed SageMaker endpoint or inference component, you must supply the
endpoint name and optional inference component name from your deployed Sagemaker model
& the region where it is deployed.
To use with a pre-deployed SageMaker endpoint or inference component, you must
supply the endpoint name and optional inference component name from your deployed
Sagemaker model & the region where it is deployed.
To use with undeployed SageMaker resources, you can supply an endpoint name, optional
inference component name, and deployment configuration which defines the endpoint and model
configs. This construct can then be used by the SageMaker PythonSDK ModelBuilder class to
deploy a Sagemaker model on the desired compute.
To use with undeployed SageMaker resources, you can supply an endpoint name,
optional inference component name, and deployment configuration which defines
the endpoint and model configs. This construct can then be used by the SageMaker
PythonSDK ModelBuilder class to deploy a Sagemaker model on the desired compute.
To authenticate, the AWS client uses the following methods to
automatically load credentials:
Expand Down Expand Up @@ -269,9 +269,9 @@ def transform_output(self, output: bytes) -> str:
"""

deployment_config: Optional[Dict] = None
"""The deployment configuration for an undeployed endpoint or inference component which
can be deployed through the Sagemaker Python SDK ModelBuilder class. Comprises two
sub-dictionaries model_config and endpoint_config.
"""The deployment configuration for an undeployed endpoint or inference component
which can be deployed through the Sagemaker Python SDK ModelBuilder class.
Comprises two sub-dictionaries model_config and endpoint_config.
"""

"""
Expand Down

0 comments on commit 829024f

Please sign in to comment.