Skip to main content

1. Configure Sagemaker Endpoint

Configure your Sagemaker endpoint in the Freeplay app and set your prompt to use it https://docs.freeplay.ai/account-setup/model-management#model-management

2. Configure your Freeplay Client

3. Configure your Sagemaker Client

Configure your Sagemaker client using your AWS access keys

4. Fetch and Format your Prompt

Fetch your prompt from Freeplay, formatting it with your input variables

5. Call your Sagemaker Endpoint

Call your sagemaker endpoint directly using the formatted prompt object to key off needed parameters

6. Record to Freeplay

Record the interaction back to freeplay!

Examples