Abstract
Conversational interfaces and chatbots have a long history, but have only recently been hyped as a disruptive technology ready to replace mobile apps and Web sites. Many online messaging platforms have introduced support to third-party chatbots, which can be procedurally programmed, but usually rely on a retrieval-based specification language (such as AIML), natural language processing to detect the user’s intent, or on machine learning. In this work we present a work-in-progress integration of a widely-used system for story generation, the Tracery grammar, a conversational agent design tool, the Bottery system, and online messaging platforms. The proposed system provides a complete and easy-to-use system that allows the creation of chatbots with a graph-based dialogue structure, a contextual memory, pattern-based text matching, and advanced text generation capabilities, that aims for being well-suited for experts and technically unskilled authors alike. Features of the system and future additions are discussed and compared to existing solutions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Microsoft Bot Connector, https://dev.botframework.com.
- 2.
Dialogflow, backed by Google, https://dialogflow.com.
- 3.
Wit.ai, https://wit.ai.
- 4.
Pandorabots, https://pandorabots.com.
- 5.
IBM Watson Assistant, https://www.ibm.com/watson/services/conversation/.
- 6.
Official repository: https://github.com/ComputerScienceUniUrb/messaging-bottery.
References
Angara, P., et al.: Foodie fooderson a conversational agent for the smart kitchen. In: Proceedings of the 27th Annual International Conference on Computer Science and Software Engineering, pp. 247–253 (2017). http://dl.acm.org/citation.cfm?id=3172795.3172825
Augello, A., Gentile, M., Dignum, F.: An overview of open-source chatbots social skills. In: Diplaris, S., Satsiou, A., Følstad, A., Vafopoulos, M., Vilarinho, T. (eds.) INSCI 2017. LNCS, vol. 10750, pp. 236–248. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-77547-0_18
Black, J.B., Wilensky, R.: An evaluation of story grammars. Cogn. Sci. 3(3), 213–229 (1979). https://doi.org/10.1016/S0364-0213(79)80007-5
Brandtzaeg, P.B., Følstad, A.: Why people use chatbots. In: Kompatsiaris, I., et al. (eds.) INSCI 2017. LNCS, vol. 10673, pp. 377–392. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-70284-1_30
Compton, K., Filstrup, B., Mateas, M.: Tracery: approachable story grammar authoring for casual users. In: Proceedings of the AIIDE Workshop, Intelligent Narrative Technologies 2014, pp. 64–67 (2014). https://www.aaai.org/ocs/index.php/INT/INT7/paper/view/9266
Compton, K., Kybartas, B., Mateas, M.: Tracery: an author-focused generative text tool. In: Schoenau-Fog, H., Bruni, L.E., Louchart, S., Baceviciute, S. (eds.) ICIDS 2015. LNCS, vol. 9445, pp. 154–161. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-27036-4_14
Compton, K., Leigh, N., et al.: “Bottery” official source code repository. https://github.com/google/bottery. Accessed 23 Aug 2018
Compton, K., et al.: Online Tracery editor. http://brightspiral.com/tracery/. Accessed 23 Aug 2018
Compton, K., et al.: “Tracery” official source code repository. https://github.com/galaxykate/tracery. Accessed 13 Sept 2018
Dale, R.: The return of the chatbots. Nat. Lang. Eng. 22(5), 811–817 (2016). https://doi.org/10.1017/S1351324916000243
Kamphaug, Å., Granmo, O.-C., Goodwin, M., Zadorozhny, V.I.: Towards open domain chatbots—a GRU architecture for data driven conversations. In: Diplaris, S., Satsiou, A., Følstad, A., Vafopoulos, M., Vilarinho, T. (eds.) INSCI 2017. LNCS, vol. 10750, pp. 213–222. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-77547-0_16
Klopfenstein, L.C., Delpriori, S., Malatini, S., Bogliolo, A.: The rise of bots: a survey of conversational interfaces, patterns, and paradigms. In: Proceedings of the 2017 ACM Conference on Designing Interactive Systems, DIS, pp. 555–565 (2017). https://doi.org/10.1145/3064663.3064672
Klopfenstein, L.C., Delpriori, S., Paolini, B.D., Bogliolo, A.: Code hunting games: a mixed reality multiplayer treasure hunt through a conversational interface. In: Diplaris, S., Satsiou, A., Følstad, A., Vafopoulos, M., Vilarinho, T. (eds.) INSCI 2017. LNCS, vol. 10750, pp. 189–200. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-77547-0_14
Kuboň, D., Metheniti, E., Hladká, B.: Politician – an imitation game. In: Diplaris, S., Satsiou, A., Følstad, A., Vafopoulos, M., Vilarinho, T. (eds.) INSCI 2017. LNCS, vol. 10750, pp. 201–212. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-77547-0_15
Kybartas, B., Verbrugge, C., Lessard, J.: Subject and subjectivity: a conversational game using possible worlds. In: Nunes, N., Oakley, I., Nisi, V. (eds.) ICIDS 2017. LNCS, vol. 10690, pp. 332–335. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-71027-3_37
Luger, E., Sellen, A.: “Like having a really bad PA”: the gulf between user expectation and experience of conversational agents. In: Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems, CHI 2016, pp. 5286–5297 (2016). https://doi.org/10.1145/2858036.2858288
McTear, M.F.: The rise of the conversational interface: a new kid on the block? In: Quesada, J.F., Martín Mateos, F.J., López-Soto, T. (eds.) FETLT 2016. LNCS (LNAI), vol. 10341, pp. 38–49. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-69365-1_3
Montfort, N., Pérez y Pérez, R., Harrell, D.F., Campana, A.: Slant: a blackboard system to generate plot, figuration, and narrative discourse aspects of stories. In: Proceedings of the Fourth International Conference on Computational Creativity, ICCC 2013, p. 168 (2013). http://www.computationalcreativity.net/iccc2013/download/iccc2013-montfort-et-al.pdf
Moore, R.J., Arar, R., Ren, G.J., Szymanski, M.H.: Conversational UX design. In: Proceedings of the 2017 CHI Conference Extended Abstracts on Human Factors in Computing Systems, CHI EA 2017, pp. 492–497 (2017). https://doi.org/10.1145/3027063.3027077
Ramesh, K., Ravishankaran, S., Joshi, A., Chandrasekaran, K.: A survey of design techniques for conversational agents. In: Kaushik, S., Gupta, D., Kharb, L., Chahal, D. (eds.) ICICCT 2017. CCIS, vol. 750, pp. 336–350. Springer, Singapore (2017). https://doi.org/10.1007/978-981-10-6544-6_31
Satu, M.S., Parvez, M.H., Shamim-Al-Mamun: Review of integrated applications with AIML based chatbot. In: 1st International Conference on Computer and Information Engineering, ICCIE 2015, pp. 87–90 (2016). https://doi.org/10.1109/CCIE.2015.7399324
Smith, J.: The messaging apps report. Technical report (2018). https://www.businessinsider.com/messaging-apps-report-2018-4
Veale, T.: Appointment in samarra: pre-destination and bi-camerality in lightweight story-telling systems. In: Proceedings of the Ninth International Conference on Computational Creativity, ICCC 2018, pp. 128–135 (2018). http://computationalcreativity.net/iccc2018/sites/default/files/papers/ICCC_2018_paper_35.pdf
Wallace, R.S.: The anatomy of A.L.I.C.E. In: Epstein, R. (ed.) Parsing the Turing Test: Philosophical and Methodological Issues in the Quest for the Thinking Computer, pp. 181–210. Springer, Netherlands (2009). https://doi.org/10.1007/978-1-4020-6710-5_13
Weizenbaum, J.: ELIZA—a computer program for the study of natural language communication between man and machine. Commun. ACM 9(1), 36–45 (1966). https://doi.org/10.5100/jje.2.3_1
Wiggins, J., Mott, B., Pezzullo, L., Wiebe, E., Boyer, K., Lester, J.: Conversational UX design for kids: toward learning companions. In: Proceedings of the Conversational UX Design CHI 2017 Workshop (2017). http://researcher.watson.ibm.com/researcher/files/us-rjmoore/Wiggins.pdf
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Klopfenstein, L.C., Delpriori, S., Ricci, A. (2019). Adapting a Conversational Text Generator for Online Chatbot Messaging. In: Bodrunova, S., et al. Internet Science. INSCI 2018. Lecture Notes in Computer Science(), vol 11551. Springer, Cham. https://doi.org/10.1007/978-3-030-17705-8_8
Download citation
DOI: https://doi.org/10.1007/978-3-030-17705-8_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-17704-1
Online ISBN: 978-3-030-17705-8
eBook Packages: Computer ScienceComputer Science (R0)