Neon Conversational Scripting is a great way to customize your website. You get several benefits from this - a dedicated chat, cutting edge features, and AI enhanced conversation processing intelligence.  

What are Scripts?
Scripts, or user-constructed text files, are easy-to-read objects that can contain various Neon commands. Using a few simple keywords, described below in the detail, you can specify exactly what Neon should say, do, repeat, and answer; you can create new dialogs, routines, loops, and query lookups, while utilizing every skill, YAML credential, and other information that Neon knows. 

Scripts Keywords and Spacing
Scripts, per Python's tradition,  use tab spaces as a "leveling" system in the text files: you can use tabs to separate two different Cases from each other or enclose them in one another, specifying the order of execution.  

How to Use  
  Scripts can be created via NeonGecko's library or written from scratch. You can combine any in-text options with the top level variables. 
  If any new functionality needs to be added, modify the "text_command_options" or "variable_functions" in order to automatically process your functions. 
  For example, if you wish to add another variable-based command such as "random" or "select one", add the function to:
    self.variable_functions = {  
      "select_one": self._variable_select_one,  
      "voice_input": self._variable_voice_input,  
      "table_scrape": self.variable_table_scrape_to_dict,  
      'random': self._variable_random_select,  
      'closest': self._variable_closest,  
      'yaml': self._yaml_var  

Below is an example of an easy script that welcomes users. This script starts with the case (name of the file), language, and number of claps. It uses variables and speaks to the user for the first name. After getting this it then exits.

    Case: "Welcome Skill File"  
    Language: "English American Female"  
    Claps: 2  
    Variable: {first_name}: ""  
    Neon speak:  
    "Say your first name or exit" voice_input{first_name}  
        Case: "{first_name}"  
        Execute: "neon my first name is {first_name}"  
        Execute: "neon what is my name?"  
        Execute: "exit"  

You can design scripts with multiple languages in mind. All of the following options are available:

  • Chinese  zh-zh 
  • Danish  da-dk
  • Dutch  nl-nl
  • English  en-au   Australia
  • English  en-gb   Great Britain 
  • English  en-in
  • English  en-us
  • Welsh   en-gb-wls
  • French  fr-fr
  • French  fr-ca
  • German  de-de
  • Hindi   hi-in
  • Israel   is-is
  • Italian it-it
  • Japan   ja-jp
  • Korea ko-kr
  • Norwegian  nb-no
  • Polish pl-pl
  • Portugese  pt-br    Brazil
  • Portugese    pt-pt    Portugal
  • Romanian  ro-ro
  • Russian  ru-ru
  • Spanish  es-es
  • Spanish  es-mx
  • Spanish  es-us
  • Swedish  sv-se
  • Turkish  tr-tr
  • Welsh  cy-gb
  • Chinese  cmn

You can create scripts quickly and easily. Give it a try today!