• Home
  • Search
  • A Practical Application of Retrieval-Augmented Generation for Website-Based Chatbots: Combining Web Scraping, Vectorization, and Semantic Search
  • Cite Icon9
  • https://doi.org/10.36548/jtcsst.2024.4.007Copy DOI Icon

A Practical Application of Retrieval-Augmented Generation for Website-Based Chatbots: Combining Web Scraping, Vectorization, and Semantic Search

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The Retrieval-Augmented Generation (RAG) model significantly enhances the capabilities of large language models (LLMs) by integrating information retrieval with text generation, which is particularly relevant for applications requiring context-aware responses based on dynamic data sources. This research study presents a practical implementation of a RAG model personalized for a Chabot that answers user inquiries from various specific websites. The methodology encompasses several key steps: web scraping using BeautifulSoup to extract relevant content, text processing to segment this content into manageable chunks, and vectorization to create embeddings for efficient semantic search. By employing a semantic search approach, the system retrieves the most relevant document segments based on user queries. The OpenAI API is then utilized to generate contextually appropriate responses from the retrieved information. Key results highlight the system's effectiveness in providing accurate and relevant answers, with evaluation metrics centered on response quality, retrieval efficiency, and user satisfaction. This research contributes a comprehensive integration of scraping, vectorization, and semantic search technologies into a cohesive chatbot application, offering valuable insights into the practical implementation of RAG models.

Similar Papers
  • Research Article

Knowledge Retrieval-Based Intelligent Question and Answer Generation Framework for Education

  • Feb 28, 2025
  • Journal of Student Research
  • Anay Pardasani +2
  • Research Article

Large language models in healthcare and biomedical informatics: A comprehensive review

  • Jan 01, 2026
  • Innovation and Emerging Technologies
  • Andrew Hornback +8
  • Research Article
  • Citations51

Large language models for biomedicine: foundations, opportunities, challenges, and best practices.

  • Apr 24, 2024
  • Journal of the American Medical Informatics Association : JAMIA
  • Satya S Sahoo +8
  • Research Article
  • Citations13

On the role of the UMLS in supporting diagnosis generation proposed by Large Language Models

  • Aug 13, 2024
  • Journal of Biomedical Informatics
  • Majid Afshar +4
  • Research Article

#2924 Comparison of large language models and traditional natural language processing techniques in predicting arteriovenous fistula failure

  • May 23, 2024
  • Nephrology Dialysis Transplantation
  • Suman Lama +6
  • Research Article
  • Citations6

Googling for Health Information

  • Jun 21, 2012
  • Journal of Pediatric Health Care
  • Jennifer P D'Auria
  • Research Article
  • Citations2

Can general purpose large language models assist pediatricians in predicting infants with serious bacterial infection?

  • Nov 14, 2025
  • BMC Medical Informatics and Decision Making
  • Ivan Šimunović +9
  • Research Article

1401 Bringing Medicine Expertise to Your Screen: A New Frontier in Curbside Sleep Consultation Leveraging Large Language Models?

  • May 19, 2025
  • SLEEP
  • Nina Kuei +4
  • Research Article
  • Citations4

Beyond Text Generation: Assessing Large Language Models’ Ability to Reason Logically and Follow Strict Rules

  • Jan 15, 2025
  • AI
  • Zhiyong Han +4
  • Research Article

TencentLLMEval: A Hierarchical Evaluation of Real-World Capabilities for Human-Aligned LLMs

  • Apr 29, 2025
  • ACM Transactions on Intelligent Systems and Technology
  • Shuyi Xie +15
  • Research Article

Influence of Knowledge Extraction Methods on the Effectiveness of Graph-Based Rag Systems

  • Nov 26, 2025
  • NaUKMA Research Papers. Computer Science
  • Maksym Androshchuk
  • Research Article
  • Citations24

A dataset and benchmark for hospital course summarization with adapted large language models.

  • Dec 30, 2024
  • Journal of the American Medical Informatics Association : JAMIA
  • Asad Aali +11
  • Research Article
  • Citations45

Custom Large Language Models Improve Accuracy: Comparing Retrieval Augmented Generation and Artificial Intelligence Agents to Non-Custom Models for Evidence-Based Medicine

  • Nov 07, 2024
  • Arthroscopy: The Journal of Arthroscopic and Related Surgery
  • Joshua J Woo +7
  • Conference Article

Canopy-Guided Construction of ANN Search Graphs under Cosine Similarity

  • May 25, 2026
  • Rafael F Pinheiro +1
  • PDF
  • Research Article
  • Citations58

Qualitative Research Methods for Large Language Models: Conducting Semi-Structured Interviews with ChatGPT and BARD on Computer Science Education

  • Oct 12, 2023
  • Informatics
  • Andreas Dengel +7
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.