Skip to main content

An Approach Toward Stateless Chatbots with the Benefit of Tensorflow Over Spacy Pipeline

  • Conference paper
  • First Online:
Advances in Artificial Intelligence and Data Engineering (AIDE 2019)

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1133))

  • 1851 Accesses

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.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 279.99
Price excludes VAT (USA)
  • Durable hardcover 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

Similar content being viewed by others

References

  1. Bocklisch T, Faulker J, Pawlowski N, Nichol A (2017) Rasa: open source language understanding and dialogue management. ArXiv Prepr. ArXiv:171205181

    Google Scholar 

  2. Tiwari A, Talekar R, Patil SM (2017) College information chat bot system. Int J Eng Res Gen Sci 5(2)

    Google Scholar 

  3. Digate CJ, Herot CF, Ketudat T, Kopikis AM (2007) Rules based real-time communication system. US Patent 7,184,524

    Google Scholar 

  4. 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

    Google Scholar 

  5. 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

    Google Scholar 

  6. 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

  7. Yan M, Castro P, Cheng P, Ishakian V (2016) Building a chatbot with serverless computing. https://doi.org/10.1145/3007203.3007217

  8. 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

    Google Scholar 

  9. Bianchini A, Tarasconi F, Ventaglio R, Guadalupi M (2017) Gimme the usual-how handling of pragmatics improves chatbots. In: CLiC-it

    Google Scholar 

  10. https://medium.com/bots-for-business/how-to-build-a-state-full-bot-a2703ff2d57b

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chaithra .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics