Using config files

An application's config contains the comprehensive set of categories, phrases, and filters. This config may be downloaded or uploaded to support application backups or offline editing, as an alternative to using the application editor to modify the application. The following figure shows the location of the upload and download controls.

Warning: Uploading a configuration will overwrite the entire existing set of categories, phrases, and filters.
example application window
  1. Select to download the application config

  2. Select to upload an application config

Application config files are in JSON format, and each category must contain "phrases" and "subcategories" properties. The following example JSON shows an application config that may be used as a template.

Important: Uploading config files from Version 2 and older of V‑Spark is not supported in Version 3 and subsequent releases.
Figure 1. JSON Application Config Template
  {
      "Sample Top Level Category": {
          "phrases": {
              "+": {
                  "all": [
                      "phrase usually found in all calls of this category"
                  ]
              },
              "-": {
                  "all": [
                      "phrase that shouldn't occur in calls of this category"
                  ]
              }
          },
          "subcategories": {
              "Sample 2nd Level Category": {
                  "phrases": {
                      "+": {
                          "all": [
                              "call must have one of these phrases to be scored 2",
                              "call must have one of these phrases to be scored"
                          ]
                      },
                      "-": {
                          "all": [
                              "call must not include this phrase to be scored"
                          ]
                      }
                  },
                  "subcategories": {}
              },
              "Sample 2nd Level Leaf Category": {
                  "phrases": {
                      "+": {},
                      "-": {}
                  },
                  "subcategories": {}
              }
          }
      }
  }