Related Experiment Video
Updated: Apr 7, 2026

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Using large language models to integrate international IBD guidelines: A retrieval-augmented generation approach
Aryan Salahi-Niri1, Seyed Amir Ahmad Safavi-Naini1,2,3, Jalpa Devi4
1Research Institute for Gastroenterology and Liver Diseases, Shahid Beheshti University of Medical Sciences, Tehran, Iran.
Background And Aims:
Clinical guidelines for inflammatory bowel disease (IBD) are essential for standardizing care, but synthesizing recommendations from multiple, often conflicting guidelines is a laborious task for clinicians. We developed and evaluated a proof-of-concept tool using a large language model (LLM) with retrieval-augmented generation (RAG) to help clinicians navigate this complexity by harmonizing guidelines, identifying consensus and controversy, and generating actionable statements.
Methods:
An LLM-driven RAG pipeline (GPT-4o) was designed to segment guideline content and compare recommendations across four international guidelines (ACG, ECCO, BSG, ACPGBI). This tool was evaluated on eight common clinical questions in Crohn's disease and ulcerative colitis. Outputs were assessed against expert-generated references by four independent reviewers using five-point Likert scales for completeness, accuracy, relevance, coherence and conciseness.
Results:
The tool reliably identified similarities and differences across guidelines, with mean scores of 4.34 (95% CI, 4.20-4.48) for consensus recognition and 4.61 (95% CI, 4.46-4.77) for disagreement detection. Completeness, accuracy and relevance consistently scored >4.0, while conciseness was lower (3.84, 95% CI, 3.50-4.19). Outline generation performance was moderate (3.25, 95% CI, 2.85-3.65). In 87.5% of cases, tool-generated recommendations aligned with expert conclusions.
Conclusions:
This proof-of-concept study demonstrates that an LLM-RAG framework can systematically integrate IBD guidelines with high fidelity. This approach has the potential to improve guideline usability and support decision-making at the point of care, though further refinement is needed for conciseness and comprehensive outline generation.
Related Concept Videos
Inflammatory Bowel Disease III: Diagnostic Studies and Management I-Nutritional Therapy
Diagnostic studies
A colonoscopy is the definitive screening test, distinguishing ulcerative colitis from other colon diseases with similar symptoms. During a colonoscopy test, inflamed mucosa with exudate ulcerations can be observed, and biopsies are taken to determine the histologic characteristics of the...
Inflammatory Bowel Disease IV: Pharmacological Management
Pharmacologic...
Inflammatory Bowel Disease V: Surgical Management
Here are some common surgical interventions for IBD:
Inflammatory Bowel Disease II: Crohn's Disease
Inflammatory bowel disease, commonly known as IBD, refers to a collection of disorders that lead to persistent inflammation of the gastrointestinal tract. The two types of IBD are ulcerative colitis, which impacts the colon, and Crohn's disease, which can involve any part of the gastrointestinal segment.
Crohn's disease
Crohn's disease is a chronic, systemic inflammatory bowel disease (IBD) that predominantly affects the gastrointestinal tract. It is marked by...
Chronic Bowel Disorders: Introduction
Irritable Bowel Syndrome (IBS) is a common disorder affecting the gastrointestinal tract. The distinctive feature is recurrent abdominal pain associated with altered bowel movements, manifesting as constipation, diarrhea, or fluctuating between both. The...
Inflammatory Bowel Disease I: Ulcerative Colitis
Inflammatory bowel disease, or IBD, encompasses a group of disorders characterized by chronic inflammation or ulceration of the gastrointestinal tract.
Risk Factors
The exact cause of IBD remains unclear, although it is believed to be due to a mix of genetic, environmental, microbial, and immune factors. Genetic factors are significant in determining susceptibility to IBD, with family history being a critical risk factor. Individuals with a first-degree relative who has IBD are at...

