From bb3546009799062a52d01a43bec799c4f6006cb7 Mon Sep 17 00:00:00 2001 From: Josh-Heaps Date: Tue, 17 Feb 2026 09:32:43 -0700 Subject: [PATCH] Prescription ai update --- Media.JoshHeaps.Net/Services/MedicalAiService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Media.JoshHeaps.Net/Services/MedicalAiService.cs b/Media.JoshHeaps.Net/Services/MedicalAiService.cs index 1c465b9..5f7542f 100644 --- a/Media.JoshHeaps.Net/Services/MedicalAiService.cs +++ b/Media.JoshHeaps.Net/Services/MedicalAiService.cs @@ -263,7 +263,7 @@ public class MedicalAiService - ""doctorName"": string or null — the individual doctor/physician name mentioned (e.g. ""Dr. John Smith"" → ""John Smith""). If multiple, pick the primary/treating physician. - ""conditionNames"": array of medical condition names mentioned or clearly implied (e.g. ""Type 2 Diabetes"", ""Hypertension""). Only include conditions you can confidently identify. Use standard medical terminology. Return empty array if none are obvious. -Return ONLY the JSON object, no other text."; +Return ONLY the JSON object, no other text. If a document is a receipt for an individual prescription, label it as a prescription."; var userPrompt = $"Analyze this medical document text and classify it.\n\nDocument text:\n{truncatedText}";