Related Experiment Video
Updated: Jun 14, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Integrating chemistry knowledge in large language models via prompt engineering
Hongxuan Liu1, Haoyu Yin1, Zhiyao Luo2
1Department of Chemical Engineering, Tsinghua University, Beijing, 100084, China.
Abstract:
This paper presents a study on the integration of domain-specific knowledge in prompt engineering to enhance the performance of large language models (LLMs) in scientific domains. The proposed domain-knowledge embedded prompt engineering method outperforms traditional prompt engineering strategies on various metrics, including capability, accuracy, F1 score, and hallucination drop. The effectiveness of the method is demonstrated through case studies on complex materials including the MacMillan catalyst, paclitaxel, and lithium cobalt oxide. The results suggest that domain-knowledge prompts can guide LLMs to generate more accurate and relevant responses, highlighting the potential of LLMs as powerful tools for scientific discovery and innovation when equipped with domain-specific prompts. The study also discusses limitations and future directions for domain-specific prompt engineering development.
Related Concept Videos
Chemical Equations
Predicting Reaction Outcomes
Chemical Symbols
Some symbols are derived from the common name of the element; others are abbreviations of the name in another language. Most symbols have one or two letters, but three-letter symbols have been used...
Chemical Reactions
The relative amounts of reactants and products represented in a balanced chemical equation are often referred to as stoichiometric amounts.
Electrophilic Aromatic Substitution: Overview
Inductive Effects on Chemical Shift: Overview

