AI Configuration

Turbot AI Configuration

In this guide, you will learn how to:

This guide is the starting point for all AI-powered features, including Intelligent Assessment Control, Intelligent Fixes, and Policy Pack Summary. Before using any AI capabilities in Guardrails, ensure you have completed the steps outlined in this guide.

Prerequisites

Step 1: Find Turbot > AI Policy

Log in to the Guardrails console using your local credentials or via a SAML-based login. From the Policies tab, navigate to Turbot > AI in the Guardrails console.

This section provides AI-related policies that allow Guardrails to govern the use of AI for various configurations and settings. Select Configurations.

Turbot > AI > Configurations

Step 2: Configure AI Provider

Select Turbot > AI > Configuration > Provider [Default] to configure the AI service provider. The default value is set to openai.

In this example, anthropic is selected.

Turbot > AI > Provider

Step 3: Configure API Key

Select Turbot > AI > Configuration > API Key [Default] policy under the Turbot > AI > Configuration main policy.

Enter the API key for the provider chosen in Step 2. Guardrails will use this key to authenticate with your AI service provider.

Turbot > AI > Configuration > API Key Policy Setting

[!IMPORTANT]

Step 4: Configure AI Model

Select Turbot > AI > Configuration > Model [Default] policy under the Turbot > AI > Configuration main policy.

Choose the model to use with the selected AI provider for processing requests.

Choose the AI Model

[!NOTE] Supported and tested models include:

For optimal results:

Step 5: Configure Max Tokens

Select Turbot > AI > Configuration > Max Tokens [Default] under the Turbot > AI > Configuration main policy. The default value is set to 1000 as a best practice.

[!TIP]

You can adjust this based on your specific needs and the complexity of the tasks you want the AI to perform.

Step 6: Configure Temperature

The policy Turbot > AI > Configuration > Temperature [Default] allows you to configure the temperature parameter for AI API calls. Temperature controls the randomness or creativity of the AI's responses.

A lower value (closer to 0) makes responses more focused, deterministic, and consistent, while a higher value (closer to 1) makes responses more diverse and creative. The default value of 0.2 provides a good balance between consistency and creativity, suitable for most business and technical use cases.

The default value is set to 0.2. You may choose to update it based on your needs.

Note: The temperature parameter is no longer supported for OpenAI's GPT-5 series models; any value set for this parameter will be ignored.

Step 7: Enable Configuration

The Turbot > AI > Configuration > Enabled [Default] policy under Turbot > AI > Configuration plays an important role if you wish to apply configurations to all features under Turbot > AI. You may choose to continue with the default value Disabled and enable it in respective features separately.

To enable it, select New Policy Settings, set Resource to Turbot, and choose Enabled.

Enable AI Configuration

Review

Review AI Configuration

Next Steps

After completing this configuration, continue with the following guides to leverage AI features in Guardrails:

Troubleshooting

Issue Description Guide
Further Assistance If issues persist, please open a support ticket and attach relevant information to help us assist you more efficiently. Open Support Ticket