continue-custom/docs/docs/reference/Model Providers/sagemaker.md
yytdfc ab971ec6b8
add sagemaker provider (#1917)
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-08-07 07:05:37 -07:00

818 B

AWS SageMaker

SageMaker provider support SageMaker endpoint deployed with LMI

To setup SageMaker, add the following to your config.json file:

{
  "models": [
    {
      "title": "deepseek-6.7b-instruct",
      "provider": "sagemaker",
      "model": "lmi-model-deepseek-coder-xxxxxxx",
      "region": "us-west-2"
    },
  ]
}

The value in model should be the SageMaker endpoint name you deployed.

Authentication will be through temporary or long-term credentials in ~/.aws/credentials under a profile called "sagemaker".

[sagemaker]
aws_access_key_id = abcdefg
aws_secret_access_key = hijklmno
aws_session_token = pqrstuvwxyz # Optional: means short term creds.