Abstract
Conversational bots are assuming control over the business space. Consistently, individuals send in excess of a billion messages to organizations and associations through numerous messaging applications. The most usual method for building chatbots is the state machine approach which usually involves creating distinctive states and dependent on some logic invoking actions. But, with the increase in the number of states, lot of rules are required to be added, with additional logic, and hence create a delicate code which is difficult to keep up and maintain. In this work, we have shown how the stateless approach of building a chatbot using Rasa Core eliminated the need of complex state machine approach, as it makes use of machine learning-based dialog management. Along with this, we trained the model separately with the two pipelines “spacy” and “Tensorflow embedding”. We evaluated the two pipelines with cross-validation and without cross-validation for intent classification. The result showed that, with more training examples, Tensorflow embedding shows good accuracy for intent classification.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Bocklisch T, Faulker J, Pawlowski N, Nichol A (2017) Rasa: open source language understanding and dialogue management. ArXiv Prepr. ArXiv:171205181
Tiwari A, Talekar R, Patil SM (2017) College information chat bot system. Int J Eng Res Gen Sci 5(2)
Digate CJ, Herot CF, Ketudat T, Kopikis AM (2007) Rules based real-time communication system. US Patent 7,184,524
Gu G, Yegneswaran V, Porras P, Stoll J, Lee W (2009) Active botnet probing to identify obscure command and control channels. In: Annual computer security applications conference, Honolulu, HI, pp 241–253
Zhou N, Shu C, Meliksetian DS (2008) Method and system for instant messaging Bots specification using state transition methodology and XML. US Patent 7,454,469
Tarau P, Figa E (2004) Knowledge-based conversational agents and virtual storytelling. In: Proceedings of the 2004 ACM symposium on applied computing, Nicosia, Cyprus, 14–17 Mar 2004. https://doi.org/10.1145/967900.967913
Yan M, Castro P, Cheng P, Ishakian V (2016) Building a chatbot with serverless computing. https://doi.org/10.1145/3007203.3007217
Adewale O, Beatson A, Buniatyan D, Ge J, Khodak M, Lee H, Prasad N, Saunshi N, Seff A, Singh K, Suo D, Zhang C, Arora S (2017) Pixie: a social chatbot. In: Alexa prize proceedings
Bianchini A, Tarasconi F, Ventaglio R, Guadalupi M (2017) Gimme the usual-how handling of pragmatics improves chatbots. In: CLiC-it
https://medium.com/bots-for-business/how-to-build-a-state-full-bot-a2703ff2d57b
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Chaithra, Fernandes, R., Rodrigues, A.P., Venkatesh (2021). An Approach Toward Stateless Chatbots with the Benefit of Tensorflow Over Spacy Pipeline. In: Chiplunkar, N.N., Fukao, T. (eds) Advances in Artificial Intelligence and Data Engineering. AIDE 2019. Advances in Intelligent Systems and Computing, vol 1133. Springer, Singapore. https://doi.org/10.1007/978-981-15-3514-7_37
Download citation
DOI: https://doi.org/10.1007/978-981-15-3514-7_37
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-3513-0
Online ISBN: 978-981-15-3514-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)