Skip to content

Client Configuration

Overview

Use this section to set all parameters for each DialogShift framework instance.

http://member.dialogshift.com on page CONFIGURATION

Configuration is done in a JSON message. This message is divided into several larger sections:

{
    "framework": {
        ...
    },

    "dialogshiftChat":{
        ...
    },

    "livechat":{
        ...
    },

    "fbMessenger":{
        ...
    },

    "partner":{
        ...
    }
}

Core framework configuration

A minimum configuration with suggested values is created automatically when you created a new framework instance.

Example:

    "framework": {
        "name": "Demo chatbot",
        "fallbackLg": "en",
        "languages": ["de", "en"],
    }
}

name: Use a name to identify the chatbot framework instance


languages: The list of languages your framework will support. Its recommended to use ISO country codes, but if you wish to create variants in the same language you can use ISO languages codes (e.g. 'en-UK'). Users can switch between these languages.

fallbackLg: Fallback language in case no language is set or can be detected


Additional framework configuration:

The additional configuration should be set in case you plan to use the connected features of the framework. All these configurations must be placed inside framework (see chapter 'Overview' above).

BehaviorScoring: Activates the behaviour scoring functionality of the framework. Scoring values must be set on the conversational elements (texts, carousels, buttons).

"BehaviorScoring": true,

scoringAreas: Defines the scoring areas to be considered in the customer scoring process. Also sets labels for display in the statistics dashboard.

"scoringAreas": {
    "list": [
        "spa",
        "kidsfamily",
        "bar",
        "food",
        "sports"
    ],
    "labels": {
        "spa": "SPA",
        "kidsfamily": "Family & Kids",
        "bar": "Bar",
        "food": "Food & Restaurants",
        "sports": "Gym & Sports"
    }
},