Related Experiment Video
Updated: May 28, 2025

03:14
Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
478
Automating pharmacovigilance evidence generation: using large language models to produce context-aware structured
Jeffery L Painter1, Venkateswara Rao Chalamalasetti1,2, Raymond Kassekert3
1GlaxoSmithKline, Durham, NC 27701, United States.
JAMIA Open
|February 10, 2025
Summary
Large Language Models (LLMs) can now convert natural language queries into SQL for pharmacovigilance databases. Adding business context significantly boosted accuracy from 8.3% to 78.3%.
Area of Science:
- Pharmacovigilance
- Artificial Intelligence
- Database Management
Background:
- Pharmacovigilance databases require complex queries for safety data retrieval.
- Natural Language Queries (NLQs) are often difficult to translate into Structured Query Language (SQL) for database interaction.
- Large Language Models (LLMs) offer potential for automating NLQ-to-SQL conversion.
Purpose of the Study:
- To enhance information retrieval accuracy in pharmacovigilance databases.
- To develop a method for converting NLQs into SQL queries using LLMs.
- To evaluate the impact of business context on LLM-driven query generation.
Main Methods:
- Utilized OpenAI's GPT-4 model within a retrieval-augmented generation (RAG) framework.
- Enriched the RAG framework with a business context document.
- Assessed LLM performance across varying query complexities (low, medium, high) with and without the business context.
Main Results:
- NLQ-to-SQL accuracy increased from 8.3% (schema only) to 78.3% with the business context document.
- Accuracy improvements were consistent across all query complexity levels.
- Excluding high complexity queries, performance reached up to 85%, indicating strong potential for deployment.
Conclusions:
- Integrating business context significantly improves LLM accuracy for generating executable and semantically correct SQL queries.
- The proposed methodology enhances the accessibility of pharmacovigilance data for non-technical users.
- This approach provides a transferable framework for improving data retrieval in various data-intensive fields.
Related Concept Videos
Pharmacovigilance
769
Post-marketing surveillance is a critical component of pharmaceutical regulation, often uncovering unanticipated adverse drug reactions (ADRs) once a drug is widely used over an extended period.
This process, termed pharmacovigilance, aims to detect, evaluate, and minimize harmful effects related to medication use. The data collection for pharmacovigilance depends on spontaneous reporting systems, where healthcare professionals or patients voluntarily report suspected ADRs.
In some cases, there...
This process, termed pharmacovigilance, aims to detect, evaluate, and minimize harmful effects related to medication use. The data collection for pharmacovigilance depends on spontaneous reporting systems, where healthcare professionals or patients voluntarily report suspected ADRs.
In some cases, there...
769
Structure-Activity Relationships and Drug Design
491
Drug design is a dynamic field that involves discovering and developing new medications based on specific biological targets. This process heavily relies on structure-activity relationships (SAR) and quantitative structure-activity relationships (QSAR) to guide the design and optimization of efficient drugs.
SAR studies the intricate relationship between a drug's chemical structure and biological activity. It focuses on understanding how modifications to a drug's structure can influence...
SAR studies the intricate relationship between a drug's chemical structure and biological activity. It focuses on understanding how modifications to a drug's structure can influence...
491
Pharmacokinetic Models: Overview
558
Pharmacokinetic models utilize mathematical analysis to achieve a detailed quantitative understanding of a drug's life cycle within the body. They are instrumental in simulating a drug's pharmacokinetic parameters, predicting drug concentrations over time, optimizing dosage regimens, linking concentrations with pharmacologic activity, and estimating potential toxicity.
There are three primary types of models: empirical, compartment, and physiological. Empirical models, with minimal...
There are three primary types of models: empirical, compartment, and physiological. Empirical models, with minimal...
558
Analysis of Population Pharmacokinetic Data
218
Analysis of population pharmacokinetic data involves studying the behavior of drugs within diverse populations to understand their pharmacokinetic parameters. Traditional pharmacokinetic methods typically involve collecting samples from a few individuals and estimating these parameters. While these methods are commonly used, they have limitations in capturing the variability in drug response among individuals or heterogeneous populations. Population pharmacokinetics is employed to address these...
218
Leaky Scanning
5.1K
During most eukaryotic translation processes, the small 40S ribosome subunit scans an mRNA from its 5' end until it encounters the first start AUG codon. The large 60S ribosomal subunit then joins the smaller one to initiate protein synthesis. The location of the translation initiation is largely determined by the nucleotides near the start codon as there may be multiple translation initiation sites present on the mRNA. Marilyn Kozak discovered that the sequence RCCAUGG (where R...
5.1K
Drug Discovery: Overview
7.4K
Drug discovery is a multifaceted process involving extensive screening, testing, and optimization of lead compounds to identify potential new drugs for therapeutic use. It combines several approaches, including screening large numbers of natural products, chemical modification of known active molecules, identification of new drug targets, and rational design based on biological mechanisms and drug-receptor structure. These approaches are carried out in both academic research laboratories and...
7.4K

