Agents are all you need: Pioneering the use of agentic artificial intelligence to embrace large language models into dairy science
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
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
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.