Located in the Hands-on playground, AI sandboxes (opens in new tab) are hands-on experiences that allow you to explore AI tools, services, and solutions in a pre-configured and controlled environment. There are three AI sandboxes: Prompt sandbox, AI cloud sandboxes, and SageMaker Studio Notebook.
Note: This feature is available for learners with a Skills Everything, Skills AI + Data, or ACG Business plan license.
Accessing AI sandboxes
- From your learner home page (opens in new tab), click Hands-on Playground in the Hands-on Learning widget.
- Click the AI Sandboxes tab.
- Open your preferred sandbox—Prompt Sandbox, AI Cloud Sandboxes, or Sagemaker Studio Notebook.
- From your dashboard (opens in new tab), click Playground in the navigation menu.
- Click the AI Sandboxes tab.
- Open your preferred sandbox—Prompt Sandbox, AI Cloud Sandboxes, or Sagemaker Studio Notebook.
Note: Like our other hands-on features, AI sandboxes are intended for educational purposes only and are monitored for abuse and prohibited use.
Prompt sandbox
Use the Prompt sandbox to access multiple large language model AIs (LLMs) like Jurassic, Claude, and ChatGPT. Practice writing prompts for one or two LLMs and compare the results.
To start a session in Prompt sandbox:
- Navigate to the AI Sandboxes tab (opens in new tab) in the Hands-on playground.
- Click Open Sandbox in the Prompt sandbox card.
- Click Start Sandbox. This generates a sandbox URL and API key for your use.
- Select one or two LLMs from the dropdown menus.
- Type a prompt into the Prompt field. The same prompt will be used for both LLMs, if two are selected.
- Click the Parameters button next to an LLM to adjust its response, if desired. Parameters vary depending on the LLM(s) selected and include variables such as max response length, temperature, top k, and top p.
- Click Send Prompt.
The response generated by the LLM(s) you selected will appear.
- You can use the API key generated for your Prompt sandbox session to make HTTP requests such as JavaScript’s fetch. See Prompt sandbox Documentation (opens in new tab) for more information about setting up and using APIs in Prompt sandbox.
- You’re limited to three Prompt sandbox sessions per day, with each session lasting a maximum of eight hours. After a session expires, you’ll still have access to your previous prompts and responses, but you won’t be able to edit or continue from previous sessions. You can use the Prompt sandbox concurrently with other notebooks or sandboxes.
- When you start a Prompt sandbox session, you’re provided with a set number of tokens to use towards prompts and responses. You can view the total number of tokens used during your session or per response. Each LLM measures token value differently, and tokens don’t roll over between sessions.
- The sandbox also provides information on how much your session and each prompt response would cost. This cost isn’t accrued or billed to you or your organization’s plan, but used for demonstration purposes.
- You can copy the text output of an individual response or use code examples provided by the sandbox.
AI cloud sandboxes
With AI cloud sandboxes, you can spin up a cloud sandbox with access to that cloud provider’s AI services. Like other cloud sandboxes in the Hands-on playground, you’re provided a link to open the cloud console in a private browser window and a set of credentials to log in to the sandbox environment.
To start an AI cloud sandbox:
- Navigate to the AI Sandboxes tab (opens in new tab) in the Hands-on playground.
- Click Open Sandbox in the AI Cloud Sandboxes card.
- Select a sandbox type from the dropdown menu.
- Click Start Sandbox. A sandbox URL and credentials will appear.
- Copy the sandbox URL and paste it into an Incognito or browser-equivalent private window.
–or–
Right-click Open Sandbox and open the link in an Incognito or browser-equivalent private window. - Copy the user name and paste it into the user name field in the new window.
- Repeat the above step with the password.
Note: You may need to agree to the cloud provider’s Terms of Use or Service before continuing to the sandbox space.
You can only run one cloud sandbox at a time. If you want to switch to a new sandbox or notebook in the Hands-on playground, you need to first end your session by deleting the AI cloud sandbox you’re using.
AI cloud sandboxes are limited to two hours per session, but there’s no limit to the number of sessions you can open in a single day. Once you delete a session or it expires, you no longer have access to any data or information from the session
Supported services for AI cloud sandboxes
The following are supported services in AI cloud sandboxes and their limits and restrictions.
Note: This list is subject to change. We reserve the right to add, remove, or modify support for cloud services at any time.
AWS Bedrock
Limits
- Max 50 model invocations
- Max use of 20,000 tokens
Restrictions
- Cannot enable or modify model access agreements
- No access to Bedrock Studio
AWS SageMaker
Limits
- Allowed notebook instance types:
- T-Series, medium to xlarge
- M-Series, large and xlarge
- C-Series, large and xlarge
- R5.large
- Max two SageMaker Notebook instances
- Max two training jobs
- Max one SageMaker endpoint
Restrictions
- Cannot create additional SageMaker Studio environments
- Cannot create clusters, MLFlow Tracking Server, or Fleet
- No accelerators (GPUs) allowed
Azure OpenAI
The normal Azure limits and restrictions also apply to AI cloud sandboxes with the exception of those listed here.
Limits
- Assigned TPM (Tokens Per Minute) capacity of 2,000 (2k)
Restrictions
- The workspace and deployment are automatically created in one of the following supported regions. Learners cannot change, adjust, or manually select the region.
- Canada East
- South Central US
- North Central US
- Cannot create additional deployments
- Cannot access Dall-E image generation
- Cannot access Completions
GCP Vertex AI
Limits
- Supported models:
- chat-bison 001
- chat-bison 002
- codechat-bison 001
- codechat-bison 002
- gemini-1.5-flash
- gemini-1.5-pro
- Existing CPU and memory limits for VMs are applicable to Vertex AI workbench Jupiter notebooks
Restrictions
- No TPUs
- No GPUs
For a full list of supported services in our sandboxes, see our articles on AWS, Azure, and GCP cloud sandboxes.
SageMaker Studio Notebook
SageMaker Studio is an integrated development environment featuring several tools that allow you to explore, clean, and organize data and build, train, and deploy data models. You can also code in multiple programming languages.
Unlike cloud sandboxes, you don’t need to log in or use credentials to access this feature outside of your account credentials. Instead, the platform creates and sets up a pre-created SageMaker Studio Notebook, saving you time and effort.
Note: You can’t use SageMaker Studio Notebook if other sandboxes or notebooks are active, and you can’t use SageMaker Studio Notebook while in Isolation mode.
To start a SageMaker Studio Notebook:
- Navigate to the AI Sandboxes tab (opens in new tab) in the Hands-on playground.
- Click Open Notebook in the SageMaker Studio Notebook card.
- Click Start Sandbox. A notebook URL will appear.
- Copy the notebook URL and paste it into an Incognito or browser-equivalent private window.
–or–
Right-click Open Notebook and open the link in an Incognito or browser-equivalent private window.