GeneGPT: augmenting large language models with domain tools for improved access to biomedical information
Qiao Jin, Yifan Yang, Qingyu Chen, Zhiyong Lu
Why it has this license class
AChecked 1 Nov 2026. Open license (CC-BY, CC-BY-SA, CC0, public domain): full text indexed and used in synthesis.
| Source | License | Open-access status | Read as |
|---|---|---|---|
| openalex | public-domain | gold | Green |
| unpaywall | public-domain | gold | Green |
Abstract
BMOTIVATION: While large language models (LLMs) have been successfully applied to various tasks, they still face challenges with hallucinations. Augmenting LLMs with domain-specific tools such as database utilities can facilitate easier and more precise access to specialized knowledge. In this article, we present GeneGPT, a novel method for teaching LLMs to use the Web APIs of the National Center for Biotechnology Information (NCBI) for answering genomics questions. Specifically, we prompt Codex to solve the GeneTuring tests with NCBI Web APIs by in-context learning and an augmented decoding algorithm that can detect and execute API calls. RESULTS: Experimental results show that GeneGPT achieves state-of-the-art performance on eight tasks in the GeneTuring benchmark with an average score of 0.83, largely surpassing retrieval-augmented LLMs such as the new Bing (0.44), biomedical LLMs such as BioMedLM (0.08) and BioGPT (0.04), as well as GPT-3 (0.16) and ChatGPT (0.12). Our further analyses suggest that: First, API demonstrations have good cross-task generalizability and are more useful than documentations for in-context learning; second, GeneGPT can generalize to longer chains of API calls and answer multi-hop questions in GeneHop, a novel dataset introduced in this work; finally, different types of errors are enriched in different tasks, providing valuable insights for future improvements. AVAILABILITY AND IMPLEMENTATION: The GeneGPT code and data are publicly available at https://github.com/ncbi/GeneGPT.
Claims built on this paper
D- Biomedical grounding in the bundle now extends beyond retrieval to direct tool use: Jin et al. 2024's GeneGPT prompts LLMs to call NCBI Web APIs and averages 0.83 on the GeneTuring benchmark, largely surpassing retrieval-augmented LLMs such as the new Bing (0.44)—a contrasting strategy to Soman et al. 2024's KG-optimized retrieval and Xu et al. 2025's multi-source evidence retrieval. Trace →
- Jin et al. 2024's GeneGPT shows the bundle's grounding strategy extends beyond corpus retrieval to database APIs: they present the first study of in-context learning over NCBI Web API documentation and demonstrations, an instance of the division of labor Lei et al. 2024 recommend in which LLMs act as high-level managers while more robust systems perform low-level tasks. Trace →