ai-configuration

AI configuration

AI assistance is optional and is off until an administrator configures and enables it. BlackBox Analytics can still interpret common questions, calculate results, and produce standard explanations when AI is off.

AI assistance can improve question interpretation, propose clearer field labels and descriptions, and make result explanations more conversational. It does not replace the calculations shown in a result.

Decide what to enable

Open Admin → Settings → AI. The available switches are:

Setting Effect
Enabled Allows the selected AI provider to be used
Interpretation enabled Helps match plain-language questions to suitable fields and analyses
Narrative enabled Produces conversational explanations of completed results
Max sample values Limits the number of example dimension values included when context is prepared; set this to 0 to share no sample values

You can enable interpretation while leaving narratives off. This is useful when you want help understanding questions but prefer standard result wording.

Information shared with the provider

Depending on the enabled feature, BlackBox Analytics may share:

For AI field suggestions, personal fields and fields excluded from analysis do not contribute example values. Identifier examples are obscured, and free-text examples are limited and shortened. Correctly classifying fields before using AI suggestions is therefore important; see Datasets and field configuration.

Uploaded files, account passwords, connection credentials, and provider keys are not included in AI requests.

Before enabling a provider, compare these behaviours with your organisation's data-handling policy and the provider agreement. Set Max sample values to 0 if only field descriptions and summary statistics may be shared.

Configure a provider

  1. Open Admin → Settings → AI.
  2. Select the provider.
  3. Enter the model and connection details supplied for your organisation's account.
  4. Save the settings.
  5. Choose Test provider and confirm that the test succeeds.
  6. Enable only the AI features your organisation has approved.

The provider key is hidden after it is saved. Enter a replacement only when you intend to change it.

Anthropic

Choose Anthropic, enter the model name used by your organisation, and add the Anthropic API key.

OpenAI

Choose OpenAI, enter the approved model name, and add the OpenAI API key. Leave Base URL blank when using the standard OpenAI service.

Azure OpenAI

Choose Azure OpenAI, then enter the resource address, deployment name, API version, and resource key supplied by your Azure administrator.

OpenAI-compatible provider

Choose OpenAI compatible for a provider that supports the compatible interface. Enter its base address, model name, and key if required. Confirm with the service owner whether requests remain inside your organisation's network.

Review and operate AI assistance

If an AI request cannot be completed, BlackBox Analytics uses its standard question rules or explanation where possible. A message on the result explains when an AI-generated narrative was not used.