CFP last date
20 February 2025
Reseach Article

Power of Design Documents: Building a Feature-Rich Gen-AI Chatbot with Python, OpenSearch, and LLMs

by Rishi Kumar Sharma
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 186 - Number 55
Year of Publication: 2024
Authors: Rishi Kumar Sharma
10.5120/ijca2024924277

Rishi Kumar Sharma . Power of Design Documents: Building a Feature-Rich Gen-AI Chatbot with Python, OpenSearch, and LLMs. International Journal of Computer Applications. 186, 55 ( Dec 2024), 47-52. DOI=10.5120/ijca2024924277

@article{ 10.5120/ijca2024924277,
author = { Rishi Kumar Sharma },
title = { Power of Design Documents: Building a Feature-Rich Gen-AI Chatbot with Python, OpenSearch, and LLMs },
journal = { International Journal of Computer Applications },
issue_date = { Dec 2024 },
volume = { 186 },
number = { 55 },
month = { Dec },
year = { 2024 },
issn = { 0975-8887 },
pages = { 47-52 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume186/number55/power-of-design-documents-building-a-feature-rich-gen-ai-chatbot-with-python-opensearch-and-llms/ },
doi = { 10.5120/ijca2024924277 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-12-27T02:45:45.168617+05:30
%A Rishi Kumar Sharma
%T Power of Design Documents: Building a Feature-Rich Gen-AI Chatbot with Python, OpenSearch, and LLMs
%J International Journal of Computer Applications
%@ 0975-8887
%V 186
%N 55
%P 47-52
%D 2024
%I Foundation of Computer Science (FCS), NY, USA
Abstract

OpenAI - the name of the latest breakthroughs in artificial intelligence (AI) research - has captured the imagination since its announcement at the end of 2015.[1] This non-profit research organization, unlike its for-profit rivals, has an ambitious vision: to ensure that Artificial General Intelligence (AGI), the highest form of AI development where machines can outperform humans in a variety of applications, works for humanity at large. This paper discusses the ability to turn design papers into a knowledge-base via Generative AI (Gen-AI). Using LLMs and a strong search engine like OpenSearch, lets explore how to create a robust chatbot that can answer questions and provide insight right from the design document. Lets walk through all the key components, starting with data preparation and indexing to model selection and integration. Lets understand how to mine valuable data from design files, preprocess them for optimal LLM performance, and provide a slick search solution with OpenSearch. Hopefully, will learn enough to create own intelligent chatbot that will help teams effectively access and make sense of important design information at the end of this article.

References
  1. Brown, T., et al. "Language Models are Few-Shot Learners." NeurIPS 2020.
  2. "GPT-3: Language Models are Few-Shot Learners" - https://openai.com/research/gpt-3
  3. Radford, A., et al. "Improving Language Understanding by Generative Pre-Training." OpenAI, 2018
  4. Jurafsky, D., and Martin, J. H. Speech and Language Processing. Pearson, 2021
  5. Vaswani, A., et al. "Attention is All You Need." NeurIPS 2017
  6. Language Models are Few-Shot Learners - https://arxiv.org/abs/2005.14165
  7. Official Documentation: OpenSearch Documentation, Amazon Web Services.
  8. Conversational AI: Building Next-Gen Chatbots - https://azure.microsoft.com/en-us/blog/conversational-ai-building-next-generation-chatbots/
  9. White, R. W. Interacting with Search Systems. Cambridge University Press, 2016
  10. Migrating from Elasticsearch to OpenSearch - https://opensearch.org/blog/migrating-from-elasticsearch/
  11. Kuang, J. "An Introduction to OpenSearch: What it is and How It Works." Elastic Blog, 2021
  12. OpenSearch Service Documentation - https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html
  13. Gormley, C., and Tong, Z. Elasticsearch: The Definitive Guide. O'Reilly Media, 2015. (Also applies to OpenSearch)
  14. Setting Up OpenSearch for Search and Analytics - https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-opensearch
  15. Kuang, J. "An Introduction to OpenSearch: What it is and How It Works." Elastic Blog, 2021
  16. Bocklisch, T., et al. "Rasa: Open Source Language Understanding and Dialogue Management." arXiv 2017.
  17. Huang, M., et al. "Challenges in Building Intelligent Open-domain Dialog Systems." arXiv 2020
  18. Python Machine Learning - https://realpython.com/tutorials/machine-learning/
  19. Lane, M., et al. "Building Chatbots with Python." Packt Publishing, 2018.
  20. Xu, A., et al. "A New Chatbot for Customer Service on Social Media." CHI 2017.
  21. Integrating Rasa with OpenAI – https://rasa.com/docs/rasa/openai/
  22. Géron, A. Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow. O'Reilly Media, 2019.
  23. Raschka, S., and Mirjalili, V. Python Machine Learning. Packt Publishing, 2019.
  24. Understanding Dialogflow Essentials - https://cloud.google.com/dialogflow/docs
  25. Chatbot Development Using Python and NLP - https://towardsdatascience.com/building-a-chatbot-using-python-7d4eeb8e9e61
  26. Python Data Science Handbook" by Jake VanderPlas - https://github.com/jakevdp/PythonDataScienceHandbook
  27. Transformer Model Architecture - Google AI Blog
  28. Rasa: Open-Source Conversational AI - Rasa Documentation.
  29. McKinney, W. Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython. O'Reilly Media, 2017.
  30. "Building Chatbots with Python" by Sumit Raj
  31. Natural Language Processing with Python" by Steven Bird, Ewan Klein, and Edward Loper
  32. "Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow" by Aurélien Géron
  33. "Designing Bots: Creating Conversational Experiences" by Amir Shevat
  34. Deep Learning for Natural Language Processing" by Palash Goyal, et al.
  35. Raschka, S., and Mirjalili, V. Python Machine Learning. Packt Publishing, 2019.
  36. Migrating from Elasticsearch to OpenSearch https://opensearch.org/blog/migrating-from-elasticsearch/
  37. Natural Language Processing with Python. https://www.nltk.org/book/
  38. Creating Chatbots with Python https://realpython.com/python-telegram-bot/
  39. Building a Chatbot Using OpenAI GPT-3 https://towardsdatascience.com/how-to-build-a-chatbot-with-openai-gpt-3-6e4c4ef4aa28
  40. "Learning Python" by Mark Lutz
  41. "Python Machine Learning" by Sebastian Raschka and Vahid Mirjalili
  42. "Programming Bots: Building Chatbots with Python" by Richard S. T. Man
  43. "Conversational AI: Dialogue Systems, Conversational Agents, and Chatbots" by Michael McTear
  44. "Artificial Intelligence: A Guide to Intelligent Systems" by Michael Negnevitsky.
  45. "Hands-On Natural Language Processing with Python" by Rajesh Arumugam and Rajesh Kumar
Index Terms

Computer Science
Information Sciences

Keywords

OpenAI Artificial Intelligence Large Language Model ChatGPT Machine Learning (ML) Python