Versions Compared

Key

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

...

  • Configuration for each state in chatbot, ex:-

    Code Block
    name : pgr.create.locality
    description : "Locality"
    nodeType : step
    optional : false
    
    type : text
    
    validationRequired : true
    typeOfValues : FixedSetValues
    displayOptionsInExternalLink: true
    
    message : chatbot.messages.pgrCreateLocality
    
    values :
      class : org.egov.chat.xternal.valuefetch.LocalityValueFetcher
      params :
        tenantId : ~pgr.create.tenantId
        authToken : /user/authToken
        recipient: /extraInfo/recipient
    
    matchAnswerThreshold: 70
    
    errorMessage: chatbot.messages.pgrCreateLocalityError
    
  • Graph adjacency list configuration:- to define flow between chatbot states,ex:-

    Code Block
    root,pgr.create.tenantId,pgr.track.end
    pgr.create.tenantId,pgr.create.locality
    pgr.create.locality,pgr.create.landmark
    

...

Flow Diagrams

  • High Level Diagram of chatbot interactions

...

  • Flow Diagram of Chatbot-User conversation

...

  • Flow Diagram of Chatbot notifications

...

Deployment Details

  1. Add configs required for chatbot Service.

  2. Deploy the latest version of chatbot Service.

  3. Add Role-Action mapping for API’s.

...