Skip to main content

Design and Development of Retrieval-Based Chatbot Using Sentence Similarity

  • Conference paper
  • First Online:
IoT and Analytics for Sensor Networks

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 244))

Abstract

Chatbots or the well-known automated conversational agents have become a raging trend among all the sectors of businesses as a result of the rapid transition happening towards automation in processes. They are already being used extensively and will spread their wings to newer horizons shortly. The basic model of Chatbots is to interact with the user to answer their questions using various modes like text messages, voice replies, or any other predefined suitable interface. This paper discusses the development of a Chatbot for the college, Prasad V Potluri Siddhartha Institute of technology, to answer various questions related to the college like the facilities, procedures, policies, etc. This is a web-based software application implemented using Flask framework. This model is designed to capture text inputs from the user through a console and outputs the response in text format using machine learning concepts. A retrieval approach is implemented to process the input and to respond with an appropriate answer using logic adapters. The performance of this model is analyzed using a questionnaire that uses various parameters like performance, humanity, effect, and accessibility. This paper presents the overall approach used to design the Chatbot and compares the web application as-is study with the to-be website when the Chatbot is incorporated. The web application along with the Chatbot showed a 20% improvement in performance and 5% increase in accessibility by analyzing the performance metrics.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

References

  1. Schachner, T., Keller, R., & von Wangenheim, F. (2020). Artificial intelligence-based conversational agents for chronic conditions: Systematic literature review. Journal of Medical Internet Research, 22(9), e20701. https://doi.org/10.2196/20701

  2. Xu, A., Liu, Z., Guo, Y., Sinha, V., & Akkiraju, R. (2017). A new chatbot for customer service on social media. In Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems—CHI ’17 (pp. 3506–3510).

    Google Scholar 

  3. Pawar, H., Prabhu, P., Yadav, A., Mendonca, V., & Lemos, J. (2018). College enquiry chatbot using knowledge in database. International Journal for Research in Applied Science & Engineering Technology (IJRASET). ISSN: 2321-9653.

    Google Scholar 

  4. Mishra, S. K., Bharti, D., & Mishra, N. (2017), Dr. Vdoc: A medical chatbot that acts as a virtual doctor. Research & Reviews: Journal of Medical Science and Technology, 6(3).

    Google Scholar 

  5. Prashant, B. P., Anil, M. S., Dilip, K. M. (2018). Online chatting system for college enquiry using knowledgeable database. International Journal of Engineering Research in Electronics and Communication Engineering, 5.

    Google Scholar 

  6. Pawar, S., Rane, O., Wankhade, O., Mehta, P. (2018). A web based college enquiry chatbot with results. International Journal of Innovative Research in Science, Engineering and Technology, 7(4).

    Google Scholar 

  7. Gangrade, J., Surme, S. S., Somu, S., Raskonda, S., Gupta, P. (2019). A review on college enquiry chatbot. International Journal of Engineering Science and Computing, 9(3).

    Google Scholar 

  8. Vamsi, G. K., Rasool, A., & Hajela, G. (2020). Chatbot: A deep neural network based human to machine conversation model. In 11th International Conference on Computing, Communication and Networking Technologies (ICCCNT) (pp. 1–7). Kharagpur, India. https://doi.org/10.1109/ICCCNT49239.2020.9225395

  9. Wu, Li, Z., Wu, W., & Zhou, M. (2018). Response selection with topic clues for retrieval-based chatbots. Neurocomputing, 316, 251–261.

    Google Scholar 

  10. Setiaji, B., & Wibowo, F. W. (2016). Chatbot using a knowledge in database: Human-to-machine conversation modeling. In 7th International Conference on Intelligent Systems, Modelling and Simulation (ISMS) (pp. 72–77). Bangkok. https://doi.org/10.1109/ISMS.2016.53

  11. Khan, R., & Das, A. (2018). Introduction to chatbots. In Build better chatbots (pp. 1–11). Berkeley, CA: Apress.

    Google Scholar 

  12. Maroengsit, W., Piyakulpinyo, T., Phonyiam, K., Pongnumkul, S., Chaovalit, P., & Theeramunkong, T. (2019). A survey on evaluation methods for chatbots. In: Proceedings of the 2019 7th International Conference on Information and Education Technology (ICIET 2019) (pp. 111–119). New York, NY, USA: Association for Computing Machinery. https://doi.org/10.1145/3323771.3323824

  13. Miner, A. S., Milstein, A., Schueller, S., Hegde, R., Mangurian, C., & Linos, E. (2016). Smartphone-based conversational agents and responses to questions about mental health, interpersonal violence, and physical health. JAMA Internal Medicine, 176(5), 619–625.

    Article  Google Scholar 

  14. Seeger, A. M., & Heinzl, A. (2017). Human versus machine: Contingency factors of anthropomorphism as a trust-inducing design strategy for conversational agents. In Lecture notes in information systems and organization (Vol. 25, pp. 129–139). Cham: Springer.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Akkineni, H., Lakshmi, P.V.S., Sarada, L. (2022). Design and Development of Retrieval-Based Chatbot Using Sentence Similarity. In: Nayak, P., Pal, S., Peng, SL. (eds) IoT and Analytics for Sensor Networks. Lecture Notes in Networks and Systems, vol 244. Springer, Singapore. https://doi.org/10.1007/978-981-16-2919-8_43

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-2919-8_43

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-2918-1

  • Online ISBN: 978-981-16-2919-8

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics