メインコンテンツへスキップ

Build recipes with the AI assistant

The AI assistant is able to create, modify, and explain recipes in the Recipe builder using natural language. You can build or update a recipe. Instead of manually selecting resources, adding rules, and configuring filters, you can type a prompt such as "find idle EC2 instances" and the AI assistant creates the recipe.

Early access

This feature is available as an early access feature and is not covered by the DoiT support SLA. Your DoiT account must have the Admin role to enable the Composer AI assistant early access feature before it appears in the Recipe builder.

Prerequisites

Before you can use the AI assistant in the Recipe builder:

Open the AI assistant

The AI assistant is available on both the create and view recipe pages in the Recipe builder.

  1. Sign in to the DoiT console, select Automation and operations from the top navigation mega menu, and then select Composer.

  2. Select Create recipe to open a blank canvas, or select an existing recipe to open it.

  3. Select the AI assistant button in the bottom-right corner of the Recipe builder canvas.

    The AI assistant panel opens on the right side of the canvas. You can drag the left edge of the panel to resize it.

Write a prompt

Type a natural language description of the recipe you want to create or the question you want to ask, and then submit it. The AI assistant determines the intent of your prompt and responds accordingly.

The following table describes the types of prompts the AI assistant handles.

IntentDescriptionExample prompt
Create or modify a recipeBuild a new recipe from scratch or update the recipe currently on the canvas."Build a recipe to find idle EC2 instances"
Explain a recipeDescribe what the current recipe does and how it is configured. Requires a recipe on the canvas."Explain this recipe"
Answer a questionAnswer general questions about Composer, resource types, or available properties."What resource types are available in Composer?"
ClarifyWhen a prompt is too ambiguous to classify, the AI assistant asks a follow-up question before proceeding.

Preset prompts

When the AI assistant panel is open on a blank canvas, it displays preset prompt cards you can select to get started quickly:

  • "Find idle EC2 instances"
  • "Find S3 buckets missing the Environment tag"
  • "Find stopped GCP compute instances"
  • "What resource types can I query?"

Apply a recipe to the canvas

When you submit a prompt that creates or modifies a recipe, the AI assistant generates the recipe configuration — including resources, filters, metadata, and cloud provider — and applies it directly to the canvas.

If a recipe is already on the canvas when the AI assistant generates a new one, an approval dialog asks you to confirm before replacing it. Select Apply to overwrite the existing recipe, or Cancel to keep the current recipe unchanged.

After the recipe is applied, the Recipe builder automatically runs the query so you can review the results immediately. You can then adjust the recipe manually or send another prompt to refine it further.

Unresolved fields

If the AI assistant cannot map part of your prompt to a valid recipe configuration, for example, a filter value or compliance standard that does not exist, it applies the rest of the recipe and returns a message listing the fields it could not resolve. Review the message and adjust those fields manually in the Recipe builder, or rephrase your prompt to use supported values.

注意

The AI assistant cannot yet analyze recipe results, and it can only explain a recipe when one is open on the canvas. For best results, focus each prompt on a single task. Complex prompts that combine multiple unrelated requests may produce unexpected results.

See also