LogoLogo
  • About Hala.ai
  • Getting started with Hala
  • Hala Web Chat
  • Hala Platform
  • Platform Key concepts
    • Dashboard
      • Skills usage and chat history
    • User Management
    • Skills Kit
      • Dialog nodes
      • Conditions
      • Actions
      • Context
      • Output
        • Text
        • Text random
        • Quick reply
        • Video
        • Images
        • Forms
        • Tables (beta)
      • Behavior
    • Intents
    • Entities
    • Pre-built content
    • Context variables
    • Integrations
      • SAP (via Web Services)
      • ServiceNow
      • REST API
    • Actions
      • SAP (via Web Services)
      • ServiceNow
      • REST API
  • How to
    • Create a simple skill
    • Create a more complex skill
    • Create skill for SAP
    • Create skill for ServiceNow
    • Create the weather skill
    • Create skill with forms
  • help
    • Changelog
    • Support
    • Service Plan
  • reference
    • Articles
      • How AI empower sustainable growth of the organizations
      • How the Conversational AI Analytics will transform the business
      • Digital Skills as a Service (DSaaS)
      • Emerging Technologies and Enterprise Software
      • Identify the potential for automation
      • Few reasons to empower your ERP with Digital Assistant
      • AI Technology VS Value
      • SAP AMS Market Overview
Powered by GitBook
On this page
  • Overview
  • Expert mode in JSON format

Was this helpful?

  1. Platform Key concepts
  2. Skills Kit
  3. Output

Text random

Last Updated: 25.10.2019

PreviousTextNextQuick reply

Last updated 5 years ago

Was this helpful?

Overview

With random text, you can add variations to the output so Hala can respond to the same condition in different ways. It is important because users can become bored if they see the same response every time. So by adding the random text output, you can make the chat more intelligent.

The system randomly selects a text string from the variations to respond, and randomly chooses another variant the next time.

To add the random text, you need to use expert mode, in the future we will add UI component for adding the random text, so currently you need to use JSON format for adding.

Expert mode in JSON format

You can use the expert mode to specify the output random text. The expert mode becomes available by pressing the button next to the word "Output."

Here is the format in JSON for the random text:

[
  {
    "type": "randomText",
    "value": [
      "Hello",
      "Hi.",
      "Hey!"
    ]
  }
]
Access the Expert mode