DOI QR코드

DOI QR Code

Django based ChatBot System Using KakaoTalk API

카카오톡 API를 이용한 Django 기반 챗봇 시스템

  • Ko, Heungchan (Division of Computer Engineering, Hanshin University) ;
  • Kim, Minsu (Division of Computer Engineering, Hanshin University) ;
  • Lee, Solbi (Division of Computer Engineering, Hanshin University) ;
  • Lee, Hyung-Woo (Division of Computer Engineering, Hanshin University)
  • 고흥찬 (한신대학교 IT대학 컴퓨터공학부) ;
  • 김민수 (한신대학교 IT대학 컴퓨터공학부) ;
  • 이솔비 (한신대학교 IT대학 컴퓨터공학부) ;
  • 이형우 (한신대학교 IT대학 컴퓨터공학부)
  • Received : 2018.04.12
  • Accepted : 2018.05.20
  • Published : 2018.06.30

Abstract

In this paper, we developed a chatbot system using the Django framework using the KakaoTalk API so that college students can easily search for important information in their university. Unlike existing chatbot systems that provide only specific information, the chatbot developed in this research automatically provides search results for various types of user queries such as weather, YouTube, Naver real-time ranking search and language translation as well as important information within their own university. We developed a module using Apache, Python and Django in AWS Ubuntu server and developed a chatbot system that automatically responds to user queries by communicating with KakaoTalk server using KakaoTalk API and BeautifulSoup. The system developed in this study is expected to be applicable to the future university entrance information promotion and election promotion system.

본 논문은 대학생들이 소속 대학 내 주요 정보를 손쉽고 빠르게 검색할 수 있도록 KakaoTalk API를 활용하여 장고 프레임워크를 이용하여 챗봇 시스템을 개발하였다. 특정 정보만을 제공하는 기존 챗봇 시스템과는 달리 본 연구에서 개발한 챗봇은 대학 내 주요 정보 뿐만아니라 날씨, 유투브, 네이버 실시간 랭킹 검색 및 언어 번역 등 다양한 형태의 사용자 질의에 대해 자동으로 검색 결과를 제공한다. AWS Ubuntu 서버내에 Apache, Python 및 Django를 이용하여 모듈을 개발하였고 KakaoTalk API 및 BeautifulSoup 등을 이용하여 카카오톡 서버와 통신하여 사용자 질의에 대해 자동으로 응답하는 챗봇 시스템을 개발하였다. 본 연구에서 개발한 시스템에 대해서는 향후 대학 입시 정보 홍보 및 선거 홍보 시스템 등에 적용할 수 있을 것으로 기대된다.

Keywords

References

  1. Wikipedia "Apache HTTP Server" https://en.wikipedia.org/wiki/Apache_HTTP_Server
  2. Wikipedia "JSON", https://en.wikipedia.org/wiki/JSON
  3. Wikipedia "Django", https://en.wikipedia.org/wiki/Django_(web_framework)
  4. Wikipedia "Python", https://en.wikipedia.org/wiki/Python_(programming_language)
  5. Wikipedia "SQLite", https://en.wikipedia.org/wiki/SQLite
  6. Wikipedia "Web crawler", https://en.wikipedia.org/wiki/Web_crawler
  7. Wikipedia "Beautiful Soup (HTML parser)", https://en.wikipedia.org/wiki/Beautiful_Soup_(HTML_parser)
  8. lxml https://lxml.de
  9. Wikipedia "WSGI", https://en.wikipedia.org/wiki/Web_Server_Gateway_Interface
  10. Plus friend auto responder API, https://github.com/plusfriend/auto_reply
  11. Papago NMT API, https://developers.naver.com/docs/nmt/reference
  12. Naver News Search API https://developers.naver.com/docs/search/news
  13. Park, Eung Yong, "Do it! Jump to Python ", Aegis Publishing, 2016
  14. Tensorflow, https://www.tensorflow.org
  15. Wikipedia "Data transmission", https://en.wikipedia.org/wiki/Data_transmission