STATE OF GENEVA

My friend the chatbot: a robot that gives election results

The goal of the State of Geneva and its Geneva Lab is to provide high-quality technology services to Geneva residents.

As Christopher Larraz, Digital Technology & Innovation Advisor, and Gilles Barthelet, Cross-Disciplinary Solutions & e-Services Programme Manager, both know, chatbots had already permeated our lives by 2017.

So, with the help of Olivier Leclère, the State of Geneva's Information Organization Advisor, they investigated the problem and began testing with a Chatbot designed specifically to provide election results on April 15 and May 6, 2018.

Let's take a closer look at this experiment, which was carried out in collaboration with SQLI, Oracle, and Telon and was fairly conclusive.

Geneva Lake

“The experiment encouraged us to continue the project” 

The platform was released on April 15, 2018, the day before the Council of State elections. Despite the fact that the experiment only reached a small number of people, Landmanbot met its goals on the big day: answering queries from Facebook Messenger users. 

“We’re delighted to have collaborated with companies willing to invest in this experiment. We all learned and got to know the methods and concepts, and our project proved conclusive”, underlines Christopher Larraz.

“We’d like to experiment further on bots, but in-house this time round. We’ve got several ideas for OCSIN, but we need to develop the project more and talk to the State’s different departments”, adds Gilles Barthelet.

“Working on projects like this has been very rewarding for our teams. We also know how to spend time prototyping and experimenting, which is rare in our field of business”, notes Sébastien Vaury.

Specialist support 

In the summer of 2017, Olivier Leclère had no idea that the chatbot he had created in his spare time would become the foundation for Landmanbot, the Facebook Messenger bot that announces election results. 

“They’re two parallel initiatives that came together”, explains Christopher Larraz. “At OCSIN (the Canton of Geneva’s information systems and digital technologies office), Gilles Barthelet and I took an interest in Chatbots as part of our monitoring work. We reached the conclusion that the authorities in Geneva should get ready to enter this era”, he adds.
“Focused on our aim of providing effective new services to citizens, very quickly, we heard about Olivier Leclère’s personal initiative. He was motivated, like us, so we agreed we had to do something along these lines”, he remembers.

To make this chatbot experiment a success, OCSIN required external skills in terms of both technology & innovation, but also the interface and user experience aspects.
“We had the idea of joining forces with private sector companies. The State of Geneva has already worked with SQLI for several years on business application consulting and development, based on Java and Drupal technologies.
Chatbots are one of the areas they actively work on. They have also created several robot Proofs of Concept with other companies. And it’s Oracle that introduced SQLI to us as an approved Chatbot platform integrator”, explains Christopher Larraz.

Sébastien Vaury, Microsoft Centre of Excellence Business Unit Manager at SQLI Switzerland, offered Geneva Lab an original approach that convinced Olivier Leclère, Christopher Larraz and Gilles Barthelet. 

Geneva Lab enlisted the help of the Telono UX agency for this experiment because it has previously worked with them on other projects. 

Technological challenges

“With this robot, the State of Geneva wanted to reach a younger audience, offering them an innovative solution via a channel that they use every day: chat. Facebook Messenger was chosen due to its frequency of use and chatbot-friendliness”, says Alexi Gérôme, UX Consultant at Telono.

“We had tight deadlines due to the fixed election dates and had to deal with several technological constraints to create Landmanbot. Plus, just as we were developing the bot, the Facebook-Cambridge Analytica scandal blew up. So, Facebook stopped all the chatbot login approval procedures. The State of Geneva had submitted the bot developed by Olivier Leclère before the affair came to light, but not for the Oracle platform. This meant we had to implement an interface connecting the robot to the Oracle platform, so that it could easily communicate with Facebook Messenger”, explains Gilles Barthelet.

SQLI's teams designed a Node JS API to extract, handle, and deliver data, as well as a connector to connect the State of Geneva's backend and API. Oracle Europe's Chatbot development engineers aided SQLI. 

Constructing and practicing conversations was also a problem. To put it another way, knowing exactly what response to offer when a question is posed. 

The development of NLP was then aided by the creation of a standard language that citizens would be likely to employ (Natural Language Processing). 

“You need to take the challenges of the bot into account: i.e. provide technology that can be used by anyone and everyone. This requires a well-trained robot and excellent conversation design”, underlines Guillaume Gravey, SQLI Digital Workplace Consultant.

”We needed to find the right balance of artificial intelligence and guidance in the conversation, to offer users a decent experience”, remembers Alexis Gérôme.