AI Output Assistant

The AI Output Assistant in IBM® SPSS® Statistics is designed to enhance user experience by providing contextual guidance through prompts. The feature is powered by IBM watsonx.ai. You should have a trial or paid account in IBM watsonx to use the AI Output Assistant feature.

The AI Output Assistant offers the following capabilities:
  • Show insight to your entire output from a procedure, or for selected elements in your output.
  • Use the built-in prompts to quickly get insights. You can also edit the built-in prompts and enter your own prompts.
  • Decide the large language model that is most suited to analyze your data based on your needs and select it from the list of AI models
  • Set the maximum number of tokens, time limit, and temperature. You can set the temperature such that the insights can be either deterministic or creative.

Click the option Analyze output with AI tools in the menu bar of the output viewer to open the AI Output Assistant. Alternatively, you can right-click anywhere on the output viewer and select AI Output Assistant.

Options in AI Output Assistant

You can see the following options in AI Output Assistant.

Change model
Click Change model to select an appropriate large language model that you want to use to generate AI insights. List of models include various versions of models from IBM, Google, Meta, int float, and so on.

Multilingual models are large language models that are trained on data from multiple languages. These models can also handle queries in languages other than English.

Select Show all models to see all the available models that are relevant in creating AI insights.

Edit account
Click Edit account to configure or update your IBM watsonx account. Click Sign-up Assistant to open a local HTML page that can assist you to set up your account. The page displays steps to create an IBM cloud account (or check whether you have an existing account) and create and copy your API key and Project ID.

See Setting up your account for the same procedure that you view on the HTML page.

Objects to inquire about
You can choose to get an AI insight related to your entire output, visible output elements on your screen, or a selected output. Select any of the following options.
  • All
  • All visible
  • Selected
Ask the selected AI model about your output
With the option, you can curate the AI insights in different perspectives. Select any of the following options:
  • Professional Statistical Interpretation adds a built-in prompt from the point of view of a statistician.
  • Executive Summary for Business Stakeholders adds a built-in prompt from the point of view of an executive.
  • Instructional Summary for Students adds a built-in prompt from the perspective of a student
  • Diagnostic Review for Data Quality and Model Robustness adds a built-in prompt with the view to understand errors and improve the quality of data.

Select Enter Prompt Manually to create a generic AI insight.

Edit/View Prompt
Click Edit/View Prompt to view and edit your prompt text based on the option you selected in Ask the selected AI model about your output. You can view the built-in prompt text and edit it if you need. Click Reset to return to the built-in prompt text.
Advanced Settings
Click Advanced Settings to view or set up advanced AI parameters.
  • Max tokens determines the maximum unit of text that can be displayed in the Preview pane.
  • Time limit determines the time by which the AI Output Assistant processes your query and displays the interpretations. If time limit exceeds the set limit, a timeout error is displayed.
Preview AI Inquiry
With the option, you can run your prompt query with the selected model and view the insights that are created in the Preview pane.
Add to Output
Click the option to add the AI insights that are created to your Output Viewer. If you select Objects to inquire about as All, or All visible, the AI insights are placed at the beginning. If you select Objects to inquire about as Selected, the AI insights are placed below the output element you selected.