Citizen Service Chatbot sample (Beta)

This is a sample application (Web and Smart Devices) that offers information to residents and provides them with services related to the administrative formalities that can be carried out in the city they live.

The solution is implemented using a chatbot, see HowTo: Build a chatbot using GeneXus to understand  the rationale followed to build this example.

The intents are the following:

  1. Make a request or complaint about any issue happening on the street. It can be a fallen tree, a missing traffic sign, etc.
     
  2. Get information about something.
    It can be about social or cultural events of the city, or to know about the requirements for an administrative formality. Given some information that the user will provide, the system guides the user to find out the answer to his questions.
     
  3. Set up an appointment for an administrative formality.
    That is, set a date for carrying out an administrative formality at a municipal office.

Requirements 

GeneXus Beta

Basics of the application

The Kb has a Getting Started sample (Citizen instance), and advanced samples for Web (CitizenAdv) and for SD (CitizenSDAdv).

You can start going through the basic example.

image_201810411827_1_png

Main Objects for calling the Citizen chatbot

  • Web: CitizenChatbot.CitizenChatbotWebUI

  • Smart Devices: CitizenChatbot.CitizenChatbotSDUI

Main object for calling the CitizenSDAdv chatbot

  • CitizenSDAdvChatbot.CitizenSDAdvChatbotSDUI (SD panel)

Main object for calling the CitizenAdv chatbot

  • CitizenAdvChatbot.CitizenAdvChatbotWebUI (Web panel)

How to setup this example

Some steps need to be followed also to get the sample ready to run.

  1. Check that you have the Chatbot module. Go through the menu Knowledge Manager -> Manage Module References, and checked that it's installed (updated).
    How to install the module manually? After executing GeneXus, go through Knowledge Manager -> Manage Module References -> Right-click on the server section -> Upload from file -> Select the ChatbotGenerator opc -> Install.
  2. Do a checkout of the KB.
  3. Configure the chatbot provider's credentials. See Configuring GeneXus for using the Chatbot Generator
  4. Do a rebuild-all.
  5. Initialize the local data and the entity values in the AI provider. For the Getting Started sample, execute InitEntityValues web panel and click the confirm button. Otherwise execute the InitEntityValuesComplete web panel and click confirm. See HowTo : Initialize entity values in the AI provider for more information.

Notes

The following link may help you if you don't know the steps to test a feature or built the application to see it in action: HowTo: Take advantage of a KB referenced in this wiki

Subscribe to KB feed
KnowledgeBase BotSampleCitizenService
GeneXus Server URL here
No news available on this feed