Evidence Hub

Agents are all you need: Pioneering the use of agentic artificial intelligence to embrace large language models into dairy science

Liu E, Yang H, Sharma S, van Leerdam MB, Niu P, VandeHaar MJ, Hostens M

Journal of dairy science, 2025

Abstract

Large language models (LLM) hold significant promise to transform dairy science by enhancing research interpretation, supporting decision making, and improving knowledge dissemination. However, without proper systematic design, LLM may generate irrelevant or factually inaccurate responses for domain-specific questions. Moreover, most existing LLM and related tools are not tailored to the needs of the dairy domain, limiting their practical application within the field. To demonstrate the feasibility and practical value of embracing LLM in dairy science, we developed a 2-component agentic system: (1) a decision-support chatbot grounded in the Journal of Dairy Science (JDS) for science-backed insights and (2) a natural language interface for interacting with academic models and visualizing prediction results. All publicly available JDS abstracts and associated metadata dating back to 1917 were compiled using the PubMed application programming interface, forming a scientific knowledge base that enables the chatbot to answer user questions. A retrieval-augmented generation framework was implemented to ensure that responses generated by LLaMA (a LLM developed by Meta) were well-grounded in peer-reviewed literature, with the 5 most relevant sources cited alongside each answer. To address questions beyond the coverage of JDS literature, a web search agent was incorporated into the system to retrieve supplementary information from external online sources. Grading agents, powered by…

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free