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:

widgets example
"widgets": [
    "generic",
    "headline",
    "summary",
    "genericheadline"
]

Rename check box labels

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

checkBoxLabelName
"checkBoxLabelName": "DIGI"

Per-instance service provider and model

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

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

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:

saveWidget
"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"
    }
  }
}

Was this helpful?