How-to | Use the Flow Assistant#
This procedure explains how to use the Flow Assistant to generate new visual recipes in your Flow using natural language.
Prerequisites#
To use the Flow Assistant, you’ll need:
Dataiku version 14.4 or later.
The AI Assistants enabled in Administration > Settings > AI Services.
Open the Flow Assistant#
Go to Flow menu (
) > Flow to access the Flow.
Select one or more datasets.
Do one of the following:
Right-click and select Add to Flow Assistant context.
Or, select a dataset and click the Flow Assistant icon in the right panel.
The Flow Assistant chat interface opens.
Note
You can also access the Flow Assistant from the Explore tab of a dataset by clicking the Flow Assistant icon in the right panel.
Manage the context#
At the bottom of the Flow Assistant panel, review the datasets included in the context.
Add datasets if needed.
Remove datasets that aren’t relevant.
This ensures the assistant knows exactly which datasets it should use.
Describe your objective#
In the chat input, describe in plain language what you want to do with the selected datasets.
For example:
Join tx and cards using the card_id and id columns as join keys, and join tx with merchants using merchant_id and id. The output dataset of the join must be named tx_joined. Once done, group the data by card ID and compute the total purchase amount for each card.
Send the prompt.
Review the proposed plan#
Review the step-by-step plan proposed by the Flow Assistant.
If the plan matches your expectations, click Generate.
If not, edit your prompt and submit it again.
Generate and explore the Flow#
After clicking Generate, wait for the assistant to create the visual recipes.
Explore the newly generated Flow.
Open each recipe to review and adjust the settings if needed.
If you aren’t satisfied with the result, click Revert to undo the changes.
Follow best practices#
Start with simple requests and iterate.
Break down complex transformations into clear instructions in your prompt.
Always review the generated recipes before running them.
For more information on the Flow Assistant, see the:
Flow Assistant article in the reference documentation.
