Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Bot Provider V2 node lets you integrate the Web chatbot with your project in Experience Designer.

Table of Contents
excludeRelated

Bot Provider V2 node

...

  • Name. This field contains the name of the node (if given).

  • Skill. This field will be populated with the current project name automatically. You cannot edit this property.

  • NLP Type. You can choose one of the NLPs (Google, Lex, Cortana) from the dropdown.

  • Access Token. Locate the access token in your Google Agent settings; see Developer access token in How do I set up Orbita Web Chat on my site?

  • Raw NLP result output. If this checkbox is checked, the output from the node will be Raw response payload from the NLP that you have chosen.

  • Bot In Parser. Lets you override the input properties to the Bot Provider V2 node such as the Access token. Sample code:

    Code Block
    msg.payload = 
      {
        "query"           : msg.orginalPayload.text || msg.orginalPayload.utterance,
      //"sessionId"       : msg.payload.sessionId,
        "originalRequest" : 
           {
             "source" : "orbita",
             "data"   : 
               {
                 "user" : 
                   {
                     "accessToken"  : msg.orginalPayload.accessToken || '',
                     "orbitaToken"  : msg.orginalPayload.orbitaToken || '',
                     "clearSession" : "",
                     "audio"        : msg.orginalPayload.audio
                   }
               }
           }
      }

...

  • Say text window

    Code Block
    msg.payload.ssml
  • Reprompt window

    Code Block
    msg.payload.ssmlReprompt
    Image RemovedImage Added

waitTime

The time (in milliseconds), the bot must wait before displaying another chat bubble in a sequence. The default value for waitTime is set to 250.

...