# 3.0.0 configuration

Upgrade note: if you are upgrading to version 2.0.0 or later from a previous version, add "/v2" to the host URL (example shown in the full configuration below).

### Widgets order

The order in which the widgets appear in the UI is driven by the `widgets` block of configuration. Example:

{% code title="widgets example" %}

```json
"widgets": [
    "generic",
    "headline",
    "summary",
    "genericheadline"
]
```

{% endcode %}

### Rename check box labels

You can rename the check box label (previously "Digital" & "Print") under `widgetConfig`:

{% code title="checkBoxLabelName" %}

```json
"checkBoxLabelName": "DIGI"
```

{% endcode %}

### Per-instance service provider and model

Each instance can have its own service provider and model, set these keys:

{% code title="serviceProvider & modelId" %}

```json
"serviceProvider": "<set service provider>",
"modelId": "<set model id>"
```

{% endcode %}

### Encrypted key phrase for ChatGPT models

For using your ChatGPT model the value of the key `encryptedKeyPhrase` is required.

### Toggle saved results widget

You can turn the saved result widget ON or OFF with the `saveWidget` key:

{% code title="saveWidget" %}

```json
"widgetConfig": {
  "Headline": {
    "digital": {
      "preText": "Suggest headlines for the article provided in XML tag.",
      "creativity": 5,
      "gatherResult": true,
      "checkBoxDefault": true,
      "checkBoxLabelName": "DIGI",
      "xPath": "headline",
      "providerAccessToken": "",
      "serviceProvider": "Bedrock",
      "modelId": "anthropic.claude-3-5-sonnet-20241022-v2:0"
    }
  }
}
```

{% endcode %}
