{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,25]],"date-time":"2026-11-25T18:14:00Z","timestamp":1795630440580,"version":"4.11.3"},"reference-count":45,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,2,6]],"date-time":"2025-02-06T00:00:00Z","timestamp":1738800000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Artif. Intell."],"abstract":"<jats:sec><jats:title>Introduction<\/jats:title><jats:p>Artificial intelligence (AI) has tremendous potential for use in psychology. Among the many applications that may benefit from development of AI applications is narrative-personality assessment. Use of these tools and research methods is notably time-consuming and resource intensive. AI has potential to address these issues in ways that would greatly reduce clinician and researcher burden. Nonetheless, it is unclear if current AI models are sufficiently sophisticated to perform the complex downstream tasks, such as narrative assessment.<\/jats:p><\/jats:sec><jats:sec><jats:title>Methodology<\/jats:title><jats:p>The purpose of this study is to explore if an expert-refined prompt generation process can enable AI-empowered chatbots to reliably and accurately rate narratives using the Social Cognition and Object Relations scales \u2013 Global Rating Method (SCORS-G). Experts generated prompt inputs by engaging in a detailed review of SCORS-G training materials. Prompts were then improved using an systematic process in which experts worked with <jats:italic>Llama-2-70b<\/jats:italic> to refine prompts. The utility of the prompts was then tested on two AI-empowered chatbots, <jats:italic>ChatGPT-4<\/jats:italic> (OpenAI, 2023) and <jats:italic>CLAUDE-2-100k<\/jats:italic>, that were not used in the prompt refinement process.<\/jats:p><\/jats:sec><jats:sec><jats:title>Results<\/jats:title><jats:p>Results showed that the refined prompts allowed chatbots to reliably rate narratives at the global level, though accuracy varied across subscales. Averaging ratings from two chatbots notably improved reliability for the global score and all subscale scores. Experimentation indicated that expert-refined prompts outperformed basic prompts regarding interrater reliability and absolute agreement with gold standard ratings. Only the expert-refined prompts were able to generate acceptable single-rater interrater reliability estimates.<\/jats:p><\/jats:sec><jats:sec><jats:title>Discussion<\/jats:title><jats:p>Findings suggest that AI could significantly reduce the time and resource burdens on clinicians and researchers using narrative rating systems like the SCORS-G. Limitations and implications for future research are discussed.<\/jats:p><\/jats:sec>","DOI":"10.3389\/frai.2025.1398885","type":"journal-article","created":{"date-parts":[[2025,2,6]],"date-time":"2025-02-06T07:10:13Z","timestamp":1738825813000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":11,"title":["From Llama to language: prompt-engineering allows general-purpose artificial intelligence to rate narratives like expert psychologists"],"prefix":"10.3389","volume":"8","author":[{"given":"Barry","family":"Dauphin","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Caleb","family":"Siefert","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,2,6]]},"reference":[{"key":"ref1","doi-asserted-by":"crossref","first-page":"373","DOI":"10.1007\/978-3-030-49186-4_31","article-title":"An overview of chatbot technology","volume-title":"IFIP international conference on artificial intelligence applications and innovations","author":"Adamopoulou","year":"2020"},{"key":"ref2","doi-asserted-by":"publisher","first-page":"951","DOI":"10.3390\/jpm13060951","article-title":"A review of the role of artificial intelligence in healthcare","volume":"13","author":"Al Kuwaiti","year":"2023","journal-title":"J. Pers. Med."},{"key":"ref3","year":"2023"},{"key":"ref4","doi-asserted-by":"publisher","first-page":"e15154","DOI":"10.2196\/15154","article-title":"Artificial intelligence and human trust in healthcare: focus on clinicians","volume":"22","author":"Asan","year":"2020","journal-title":"J. Med. Internet Res."},{"key":"ref5","first-page":"610","article-title":"On the dangers of stochastic parrots: Can language models be too big?","author":"Bender","year":"2021"},{"key":"ref6","article-title":"Multimethod assessment of personality and psychopathology","volume-title":"The Oxford handbook of personality and psychopathology assessment","author":"Bornstein","year":"2014"},{"key":"ref7","doi-asserted-by":"publisher","first-page":"223","DOI":"10.1016\/j.bpsc.2017.11.007","article-title":"Machine learning for precision psychiatry: opportunities and challenges","volume":"3","author":"Bzdok","year":"2018","journal-title":"Biol. Psychiatry Cogn. Neurosci. Neuroimaging"},{"key":"ref8","volume-title":"Linguistics: EMNLP 2023","author":"Chen","year":"2023"},{"key":"ref9","author":"Copeland","year":"2023"},{"key":"ref10","year":"2024"},{"key":"ref11","doi-asserted-by":"publisher","first-page":"1199058","DOI":"10.3389\/fpsyg.2023.1199058","article-title":"ChatGPT outperforms humans in emotional awareness evaluations","volume":"14","author":"Elyoseph","year":"2023","journal-title":"Front. Psychol."},{"key":"ref12","volume-title":"Vector research blog: large language models, prompting, and PEFT","author":"Emerson","year":"2023"},{"key":"ref13","first-page":"8","article-title":"From classification to clinical insights: Towards analyzing and reasoning about mobile and behavioral health data with large language models","volume-title":"Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies","author":"Englhardt","year":"2024"},{"key":"ref14","doi-asserted-by":"publisher","first-page":"127","DOI":"10.1561\/1500000074","article-title":"Neural approaches to conversational AI","volume":"13","author":"Gao","year":"2019","journal-title":"Found. Trends Inf. Retr."},{"key":"ref15","doi-asserted-by":"publisher","first-page":"30","DOI":"10.1080\/14616730010024771","article-title":"The development and preliminary validation of a new measure of adult attachment: the adult attachment projective","volume":"3","author":"George","year":"2001","journal-title":"Attach Hum. Dev."},{"key":"ref16","first-page":"1","article-title":"Chatbots, humbots, and the quest for artificial general intelligence","author":"Grudin","year":"2019"},{"key":"ref17","volume-title":"Multimethod clinical assessment","author":"Hopwood","year":"2014"},{"key":"ref18","doi-asserted-by":"publisher","first-page":"3713","DOI":"10.1007\/s11042-022-13428-4","article-title":"Natural language processing: state of the art, current trends and challenges","volume":"82","author":"Khurana","year":"2023","journal-title":"Multimed. Tools Appl."},{"key":"ref19","doi-asserted-by":"publisher","first-page":"155","DOI":"10.1016\/j.jcm.2016.02.012","article-title":"A guideline of selecting and reporting intraclass correlation coefficients for reliability research","volume":"15","author":"Koo","year":"2016","journal-title":"J. Chiropr. Med."},{"key":"ref20","doi-asserted-by":"publisher","first-page":"e829","DOI":"10.1016\/S2589-7500(22)00153-4","article-title":"From promise to practice: towards the realisation of AI-informed mental health care","volume":"4","author":"Koutsouleris","year":"2022","journal-title":"Lancet Digit. Health"},{"key":"ref21","doi-asserted-by":"publisher","first-page":"863","DOI":"10.3389\/fpsyg.2013.00863","article-title":"Calculating and reporting effect sizes to facilitate cumulative science: a practical primer for t-tests and ANOVAs","volume":"4","author":"Lakens","year":"2013","journal-title":"Front. Psychol."},{"key":"ref22","volume-title":"Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing","author":"Lester","year":"2021"},{"key":"ref23","first-page":"1","volume-title":"ACM Computing Surveys","author":"Liu","year":"2021"},{"key":"ref24","doi-asserted-by":"publisher","first-page":"14156","DOI":"10.1038\/s41598-024-64827-6","article-title":"OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models","volume":"14","author":"Maharjan","year":"2024","journal-title":"Sci. Rep."},{"key":"ref25","doi-asserted-by":"crossref","first-page":"15","DOI":"10.4135\/9781506335117.n2","article-title":"Exploring psychological themes through life narrative accounts","volume-title":"Varieties of narrative analysis","author":"McAdams","year":"2012"},{"key":"ref26","doi-asserted-by":"publisher","first-page":"e50638","DOI":"10.2196\/50638","article-title":"Prompt engineering as an important emerging skill for medical professionals: tutorial","volume":"25","author":"Mesk\u00f3","year":"2023","journal-title":"J. Med. Internet Res."},{"key":"ref27","year":"2023"},{"key":"ref28","doi-asserted-by":"publisher","first-page":"809","DOI":"10.1007\/s11245-023-09932-3","article-title":"Is AI the future of mental healthcare?","volume":"42","author":"Minerva","year":"2023","journal-title":"Topoi"},{"key":"ref29","author":"Nori","year":"2023"},{"key":"ref30","year":"2023"},{"key":"ref31","doi-asserted-by":"publisher","first-page":"1410947","DOI":"10.3389\/fdgth.2024.1410947","article-title":"Prompt engineering for digital mental health: a short review","volume":"6","author":"Priyadarshana","year":"2024","journal-title":"Front. Digit. Health"},{"key":"ref32","year":"2023"},{"key":"ref33","first-page":"4902","article-title":"Beyond accuracy: behavioral testing of NLP models with CheckList","author":"Ribeiro","year":"2020"},{"key":"ref34","author":"Shah","year":"2023"},{"key":"ref35","doi-asserted-by":"crossref","first-page":"515","DOI":"10.1017\/CBO9780511527937.038","article-title":"Methodological considerations: Steps in research employing content analysis systems","volume-title":"Motivation and personality: handbook of thematic content analysis","author":"Smith","year":"1992"},{"key":"ref36","volume-title":"Social cognition and object relations scale: global rating method (SCORS-G)","author":"Stein","year":"2011"},{"key":"ref37","volume-title":"The social cognition and object relations scale \u2013 global rating method (SCORS-G): a comprehensive guide for clinicians and researchers","author":"Stein","year":"2018"},{"key":"ref38","doi-asserted-by":"publisher","first-page":"1291132","DOI":"10.3389\/fdgth.2023.1291132","article-title":"AI in healthcare: navigating opportunities and challenges in digital communication","volume":"5","author":"Sun","year":"2023","journal-title":"Front. Digit. Health"},{"key":"ref39","doi-asserted-by":"publisher","first-page":"150","DOI":"10.1186\/s12888-020-02558-4","article-title":"Core conflictual relationship theme: the reliability of a simplified scoring procedure","volume":"20","author":"Tallberg","year":"2020","journal-title":"BMC Psychiatry"},{"key":"ref40","doi-asserted-by":"publisher","DOI":"10.3758\/s13428-023-02145-x","article-title":"Automated scoring of the autobiographical interview with natural language processing","author":"van Genugten","year":"2024","journal-title":"Behavior research methods"},{"key":"ref42","article-title":"Chain-of-thought prompting elicits reasoning in large language models","author":"Wei","year":"2022"},{"key":"ref43","doi-asserted-by":"publisher","first-page":"429","DOI":"10.1037\/0033-2909.109.3.429","article-title":"Social cognition and object relations","volume":"109","author":"Westen","year":"1991","journal-title":"Psychol. Bull."},{"key":"ref44","author":"Wolfe","year":"2024"},{"key":"ref47","article-title":"BERTScore: Evaluating text generation with BERT","author":"Zhang","year":"2023"},{"key":"ref48","first-page":"478","article-title":"Comparison of prompt engineering and fine-tuning strategies in large language models in the classification of clinical notes","author":"Zhang","year":"2024"}],"container-title":["Frontiers in Artificial Intelligence"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1398885\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,2,6]],"date-time":"2025-02-06T07:10:20Z","timestamp":1738825820000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/frai.2025.1398885\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,2,6]]},"references-count":45,"alternative-id":["10.3389\/frai.2025.1398885"],"URL":"https:\/\/doi.org\/10.3389\/frai.2025.1398885","relation":{"has-part":[{"id-type":"doi","id":"https:\/\/doi.org\/10.3389\/frai.2025.1398885.s001","asserted-by":"subject"},{"id-type":"doi","id":"https:\/\/doi.org\/10.3389\/frai.2025.1398885.s002","asserted-by":"subject"}]},"ISSN":["2624-8212"],"issn-type":[{"value":"2624-8212","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,2,6]]},"article-number":"1398885"}}