Retrieval-Augmented Virtual Patients for Eating Disorders
Background: Language models can generate fluent virtual patient dialogue, but its clinical plausibility requires evaluation. Objective: We describe a locally deployed simulator for anorexia nervosa, bulimia nervosa, and binge-eating disorder and examine the perceived realism of its responses. Method: A Unity application links a three-dimensional avatar to Llama 3 8B. A retrieval-augmented generation (RAG) configuration uses Nomic Embed Text and ChromaDB to retrieve clinical material. Six raters from psychology or nutrition assessed 45 Brazilian Portuguese responses to 15 questions under three conditions: Llama 3 8B without RAG, Llama 3 8B with RAG, and GPT-4o. Each response received six ratings on a five-point realism scale, yielding 270 ratings. Comparisons were descriptive, and agreement was assessed using quadratically weighted Gwet’s AC2. Results: Mean realism was 3.81 without RAG, 3.76 with RAG, and 4.65 for GPT-4o. Observed agreement was 83.5%, with AC2 = .60. Qualitative comments emphasized clinical plausibility concerns without RAG and language quality concerns with RAG; error frequencies were not quantified. Conclusions: RAG was not associated with a higher overall realism mean in this response set. Clinical plausibility and linguistic naturalness warrant separate assessment in a comparison that controls generation settings. The study did not evaluate avatar effects, multi-turn coherence, safety, or learning outcomes.
Authors
- João Ricardo Nickenig Vissoci (ORCID: https://orcid.org/0000-0001-7276-0402)
- Bolivar Ramos Cibils Filho (ORCID: https://orcid.org/0000-0002-5696-1463)
- Wagner de Lara Machado (ORCID: https://orcid.org/0000-0001-5555-5116)
- Carlo Smaniotto Mantovani (ORCID: https://orcid.org/0009-0009-1255-3124)
- Gabriel Balke dos Santos
- Regis Kopper
- Márcio Sarroglia Pinho
Publication Details
- Journal
- PsyArXiv (OSF Preprints)
- Published
- 2026-11-23
- DOI
- https://doi.org/10.31234/osf.io/z6gnv
- Primary Topic
- Artificial Intelligence in Healthcare and Education
- Type
- preprint