Skip to main content

Model-Driven Chatbot Development

  • Conference paper
  • First Online:
Conceptual Modeling (ER 2020)

Abstract

Chatbots are software services accessed via conversation in natural language. They are increasingly used to help in all kinds of procedures like booking flights, querying visa information or assigning tasks to developers. They can be embedded in webs and social networks, and be used from mobile devices without installing dedicated apps. While many frameworks and platforms have emerged for their development, identifying the most appropriate one for building a particular chatbot requires a high investment of time. Moreover, some of them are closed – resulting in customer lock-in – or require deep technical knowledge.

To tackle these issues, we propose a model-driven engineering approach to chatbot development. It comprises a neutral meta-model and a domain-specific language (DSL) for chatbot description; code generators and parsers for several chatbot platforms; and a platform recommender. Our approach supports forward and reverse engineering, and model-based analysis. We demonstrate its feasibility presenting a prototype tool and an evaluation based on migrating third party Dialogflow bots to Rasa.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://www.aiml.foundation/.

  2. 2.

    For brevity, Table 2 shows the number of languages supported, not the list of them.

  3. 3.

    https://github.com/actions-on-google/dialogflow-number-genie-nodejs.

  4. 4.

    https://github.com/dialogflow/dialogflow-java-client-v2/tree/master/samples/resources.

  5. 5.

    https://github.com/Viber/apiai-nutrition-sample.

  6. 6.

    https://www.botium.ai/.

  7. 7.

    https://tortu.io/.

  8. 8.

    https://www.voiceflow.com/.

References

  1. Baena-Perez, R., Ruiz-Rube, I., Dodero, J.M., Bolivar, M.A.: A framework to create conversational agents for the development of video games by end-users. In: Dorronsoro, B., Ruiz, P., de la Torre, J.C., Urda, D., Talbi, E.-G. (eds.) OLA 2020. CCIS, vol. 1173, pp. 216–226. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-41913-4_18

    Chapter  Google Scholar 

  2. Baez, M., Daniel, F., Casati, F.: Conversational web interaction: proposal of a dialog-based natural language interaction paradigm for the web. In: Følstad, A., et al. (eds.) CONVERSATIONS 2019. LNCS, vol. 11970, pp. 94–110. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-39540-7_7

    Chapter  Google Scholar 

  3. Baudart, G., Hirzel, M., Mandel, L., Shinnar, A., Siméon, J.: Reactive chatbot programming. In: REBLS@SPLASH, pp. 21–30. ACM (2018)

    Google Scholar 

  4. Botkit. https://botkit.ai/. Accessed 2020

  5. Chatfuel. https://chatfuel.com/. Accessed 2020

  6. Chatterbot. https://chatterbot.readthedocs.io/. Accessed 2020

  7. Daniel, G., Cabot, J., Deruelle, L., Derras, M.: Multi-platform chatbot modeling and deployment with the Jarvis framework. In: Giorgini, P., Weber, B. (eds.) CAiSE 2019. LNCS, vol. 11483, pp. 177–193. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-21290-2_12

    Chapter  Google Scholar 

  8. Daniel, G., Cabot, J., Deruelle, L., Derras, M.: Xatkit: a multimodal low-code chatbot development framework. IEEE Access 8, 15332–15346 (2020)

    Article  Google Scholar 

  9. Dialogflow. https://dialogflow.com/. Accessed 2020

  10. FlowXO. https://flowxo.com/. Accessed 2020

  11. Huang, T.K., Chang, J.C., Swaminathan, S., Bigham, J.P.: Evorus: a crowd-powered conversational assistant that automates itself over time. In: UIST, pp. 155–157. ACM (2017)

    Google Scholar 

  12. Jonell, P., Fallgren, P., Dogan, F.I., Lopes, J., Wennberg, U., Skantze, G.: Crowdsourcing a self-evolving dialog graph. In: CUI, pp. 14:1–14:8. ACM (2019)

    Google Scholar 

  13. de Lacerda, A.R.T., Aguiar, C.S.R.: FLOSS FAQ chatbot project reuse: how to allow nonexperts to develop a chatbot. In: OpenSym. ACM (2019)

    Google Scholar 

  14. Landbot.io. https://landbot.io/. Accessed 2020

  15. Lex. https://aws.amazon.com/en/lex/. Accessed 2020

  16. LUIS. https://www.luis.ai/. Accessed 2020

  17. Microsoft Bot Framework. https://dev.botframework.com/. Accessed 2020

  18. Pandorabots. https://home.pandorabots.com/. Accessed 2020

  19. Pérez-Soler, S., Daniel, G., Cabot, J., Guerra, E., de Lara, J.: Towards automating the synthesis of chatbots for conversational model query. In: Nurcan, S., Reinhartz-Berger, I., Soffer, P., Zdravkovic, J. (eds.) Enterprise, Business-Process and Information Systems Modeling. BPMDS 2020, EMMSAD 2020. Lecture Notes in Business Information Processing, vol. 387. Springer, Cham. https://doi.org/10.1007/978-3-030-49418-6_17

  20. Pérez-Soler, S., González-Jiménez, M., Guerra, E., de Lara, J.: Towards conversational syntax for domain-specific languages using chatbots. J. Object Technol. 18(2), 5 (2019)

    Article  Google Scholar 

  21. Rasa. https://rasa.com/. Accessed 2020

  22. Schmidt, D.C.: Guest editor’s introduction: model-driven engineering. Computer 39(2), 25–31 (2006)

    Article  Google Scholar 

  23. Shevat, A.: Designing Bots: Creating Conversational Experiences. O’Reilly, Sebastopol (2017)

    Google Scholar 

  24. SmartLoop. https://smartloop.ai/. Accessed 2020

  25. Steinberg, D., Budinsky, F., Merks, E., Paternostro, M.: EMF: Eclipse Modeling Framework, 2nd edn. Pearson Education, London (2008)

    Google Scholar 

  26. Tegos, S., Demetriadis, S.N.: Conversational agents improve peer learning through building on prior knowledge. Educ. Technol. Soc. 20(1), 99–111 (2017)

    Google Scholar 

  27. Väänänen, K., Hiltunen, A., Varsaluoma, J., Pietilä, I.: CivicBots – chatbots for supporting youth in societal participation. In: Følstad, A., et al. (eds.) CONVERSATIONS 2019. LNCS, vol. 11970, pp. 143–157. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-39540-7_10

    Chapter  Google Scholar 

  28. Watson. https://www.ibm.com/cloud/watson-assistant/. Accessed 2020

  29. Winkler, R., Hobert, S., Salovaara, A., Söllner, M., Leimeister, J.M.: Sara, the lecturer: improving learning in online education with a scaffolding-based conversational agent. In: CHI, pp. 1–14. ACM (2020)

    Google Scholar 

  30. Meyer von Wolff, R., Nörtemann, J., Hobert, S., Schumann, M.: Chatbots for the information acquisition at universities – a student’s view on the application area. CONVERSATIONS 2019. LNCS, vol. 11970, pp. 231–244. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-39540-7_16

    Chapter  Google Scholar 

  31. Xenioo. https://www.xenioo.com/en/. Accessed 2020

Download references

Acknowledgments

Work funded by the Spanish Ministry of Science (RTI2018-095255-B-I00) and the R&D programme of Madrid (P2018/TCS-4314).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sara Pérez-Soler .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pérez-Soler, S., Guerra, E., de Lara, J. (2020). Model-Driven Chatbot Development. In: Dobbie, G., Frank, U., Kappel, G., Liddle, S.W., Mayr, H.C. (eds) Conceptual Modeling. ER 2020. Lecture Notes in Computer Science(), vol 12400. Springer, Cham. https://doi.org/10.1007/978-3-030-62522-1_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-62522-1_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-62521-4

  • Online ISBN: 978-3-030-62522-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics