Spotfire® Server and Environment - Installation and Administration

Adding and configuring AI models using the web administration pages

This topic describes how you can add and configure AI models from the Spotfire Server web administration pages.

Before you begin

See Managing AI models for a list of prerequisites.

Adding an AI model

Procedure

  1. Log in to the Spotfire Server web administration pages and select Configuration > AI models.
  2. Click Add model, and enter a Name in the dialog that opens. This is the display name for the configuration.
  3. Enter the Model identifier. Use the provider-specific model name or deployment name. For example, gpt-4o, claude-3-5-sonnet, or an Azure deployment name. For more details about this setting, see Choosing the model identifier.
  4. Select the API.
    The following API types are available: Azure OpenAI , Azure Anthropic, Azure Mistral, Anthropic, Gemini, Mistral, OpenAI, Amazon Bedrock, and Ollama.
  5. Under Mode, make sure that Completion is selected.
  6. Enter the provider Endpoint. The endpoint must be a valid HTTP or HTTPS URL. See Choosing the endpoint value for details about this setting.
  7. Select an Authentication method.
    Select API Key for providers that require a secret for each request. Select None only for endpoints that do not require authentication, such as some local Ollama deployments.
    Note: If you switch a model to None, any stored API key and authorization header settings are cleared.
  8. If you selected None as the authentication method, continue to step 11. If you selected API Key, enter the API key to use.
  9. If needed, select an Authorization header mode. The available options are Default, Authorization Bearer, and Custom.
    In most cases, Default is the correct choice, because it uses the convention associated with the selected API type. Select Custom only when your provider or gateway expects a non-standard header name.
  10. If you selected Custom, enter the Custom authorization header name.
  11. If your client integration requires a non-default path, enter a Path override. See Path override for details about this setting.
  12. Click Add.

Results

The new model is added on the AI models page and becomes available for the Spotfire AI functionality.

What to do next

When you have added a model, you can optionally continue with additional configurations. On the Settings tab of the details panel, you can modify the configuration and add custom headers. On the User access tab, you can restrict the model to specific users or groups. On the AI models page you can also enable or disable a model, or change its priority. See below, and AI model configuration reference to learn more.

Granting access to groups and users

You can restrict a model to specific users or groups.

Tip: See Access control for information about how to best organize groups when you want models to have different access permissions.

Procedure

  1. On the AI models page, select the model you want to configure.
  2. Open the details panel, and go to the User access tab.
  3. Click Add groups to grant access to one or more groups, or click Add users to grant access to one or more individual users.
  4. In the dialog that opens, select the groups or users that should be allowed to use the model, and click Add groups or Add users depending on which option you chose.
    The selected groups or users are added on the User access tab, and are granted access to the model. To remove access for a group or user, select it on the User access tab, and click Remove access.

Enabling, disabling, and prioritizing models

On the AI models page, you can manage the models. Depending on the current state of the model, different options are available.

Select a model to see the available options above the list of models. In the example below, the selected model is currently disabled, but can be enabled using the Enable button. The model priority can also be increased or decreased, or the model can be deleted.

Lower priority values represent higher priority. You can sort the list by priority to get a clearer overview.

Reviewing change history

On the Change history tab of the details panel, you can see all the modifications made to a model. Each modification also shows a timestamp, and which user made the change.