Leopard Chat Client
  • Quick Start
  • Screenshots
  • Setup
    • Extension Helper
    • Context Variables
      • Greeting Message
      • Channel
      • User's Time Zone
      • Location Context Parameters
    • Build Variables
  • Content Styling
    • CSS Styles
    • Icons
    • Markdown & HTML
  • Components Simple Syntax
  • Components
    • Answer Borders
    • Audio Player
    • Auto Open Leopard with Link
    • Alerts
    • Buttons and Lists
    • Card
    • Response Icons
    • Date & Time Pickers
    • Emergency Button
    • Expensive Operations
    • Field Masks
    • Chat Field Types (Email, Password, Location, Upload)
    • Forms
      • Feedback Form
      • Custom Forms
        • Example Config
        • Postback Object
        • Button Object
        • Field Types
        • Style Object
        • Icons Object
        • Masks
        • Validation
    • Google Map
    • Help Text
    • HTML Modal
    • Hyperlinks
    • Images
      • Image
      • Image Carousel
    • Tables
      • Tables - Simple
      • Tables - Advanced
    • Theme Change
    • Toasts
    • Language Auto Switch
    • Minimize Chat after Delay
    • Multiple Components - Same Response
    • Modal Size & Positioning
    • Open Long Response in Modal
    • Print Icon
    • Prompt Trigger Polling
    • Splitting Answers - Chunks
    • Video Player
  • Administration Area
    • Solution Configuration
    • Demo Mode - iFrames & URLs
    • ASR and TTS
  • Integrations
    • Logging / Reporting
    • Social Authentication
    • Live Chat
  • Embedding / Production
Powered by GitBook
On this page
  • Initial Load
  • Default Configuration
  • Accessing the Config Page
  • Config Page
  • Features
  • Solution Add/Edit Screen
  • Exporting
  • Importing
  1. Administration Area

Solution Configuration

Every Leopard installation has a configuration page that allow you to create numerous solution demonstrations. These configurations can be backed up and shared.

PreviousAdministration AreaNextDemo Mode - iFrames & URLs

Last updated 4 years ago

Initial Load

On initial load of the Leopard chat client the logic in the code will look to see if it can find a to load. If that configuration can't be located you can head over into the and create a new one.

Default Configuration

Leopard loads the site's configured in your .env.solution.json file located in the root of Leopard's source code.

You can export any full solution config from your personal Leopard Admin Area and use that as the default in production.

Example .env.solution.json

{
  "activeSolution": "241ae1c3-leopard-983c02abe2b3",
  "solutions": [
    {
      "name": "Leopard Test Solution",
      "url": "https://teneo-demos-fusion.presales.artificial-solutions.com/leopard/",
      "deepLink": "leopard",
      "iframeUrl": "https://wi.presales.artificial-solutions.com/leopard-info/",
      "sendContextParams": "all",
      "contextParams": [
        {
          "name": "channel",
          "values": [
            {
              "text": "webview",
              "active": true
            }
          ]
        }
      ],
      "animations": {
        "in": "slideInUp",
        "out": "flipOutY"
      },
      "chatTitle": "Speak with Leo",
      "responseIcon": "mdi-comment-arrow-right",
      "userIcon": "mdi-comment-quote-outline",
      "useLocalStorage": false,
      "enableLiveChat": false,
      "theme": {
        "primary": "#1A237E",
        "secondary": "#880E4F",
        "accent": "#4CAF50",
        "success": "#8BC34A",
        "info": "#E65100",
        "error": "#FF5252",
        "warning": "#FFC107",
        "dark": "#0062B1",
        "custom1": "#6A1B9A",
        "custom2": "#0062B1",
        "custom3": "#0062B1",
        "focusButton": "#C8C4C4",
        "sendButton": "#311B92",
        "textButton": "#000000"
      },
      "displayAccent": true,
      "knowledgeData": ["What's your name?", "Who created you?"],
      "float": true,
      "showChatIcons": true,
      "asrCorrections": "pizza | Peter\nthiss | that",
      "pulseButton": true,
      "playResponseBeep": true,
      "promptTriggers": {
        "enabled": false,
        "pollSeconds": "5"
      },
      "customCssButtonToolbar": "",
      "locale": "en-us-female",
      "longResponsesInModal": false,
      "useInProduction": false,
      "font": "leopard-font-medium",
      "lookAndFeel": {
        "response": {
          "iconColor": "error",
          "blockBgColor": "white",
          "blockTextColor": "dark"
        },
        "question": {
          "iconColor": "accent",
          "blockBgColor": "white",
          "blockTextColor": "dark"
        }
      },
      "id": "241ae1c3-leopard-983c02abe2b3",
      "responseDelay": 0,
      "enableAsrTtsOnOpen": false
    }
  ]
}

The solution called, Leopard Test Solution would be loaded for all new users accessing the Leopard deployment.

Accessing the Config Page

You can always access the config from the Leopard chat window's menu.

Config Page

Features

  • Create new solution configurations

  • Edit existing solution configurations

  • Clone existing solution configurations

  • Delete existing solution configurations

  • Exporting

    • Export an individual solution configuration

    • Exporting all solution configurations

  • Importing

    • Importing individual solution configurations

    • Importing a batch of solution configurations

  • Share solutions by generating a link that other can follow to import your solution

  • Test TIE endpoints for all configured solutions

  • Accessing short links for the selected solution configuration

    • Mobile view deep link

    • Website view deep link

  • Access the documentation

Solution Add/Edit Screen

Exporting

You can export the JSON configuration for individual solutions or all solutions from within the config area of Leopard. You can either choose to have the configuration exported to the file system or copied to your clipboard.

Importing

Within the Leopard configuration page you can import previously exported solution configurations. Adding and merging is all automatically handled.

default configuration
config page