From 874354dc4486872598212cbcb078fce25467fa88 Mon Sep 17 00:00:00 2001 From: VenkataKrishna Reddy Avula Date: Tue, 6 Jan 2026 17:40:02 +0000 Subject: [PATCH] Merged in bugfix/prov_info (pull request #826) bugfix/prov_info to main * added instruction to add missing info * Merged main into bugfix/prov_info * Prompt update Approved-by: Katon Minhas --- fieldExtraction/src/prompts/prompt_templates.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fieldExtraction/src/prompts/prompt_templates.py b/fieldExtraction/src/prompts/prompt_templates.py index eb395f0..7d44288 100644 --- a/fieldExtraction/src/prompts/prompt_templates.py +++ b/fieldExtraction/src/prompts/prompt_templates.py @@ -913,6 +913,7 @@ Briefly explain your reasoning. After your explanation, include the heading "FIN - Each provider must be an object within this array - All provider objects must have these exact keys: "TIN", "NPI", "NAME" - Use null (not strings like "null" or "N/A") for missing values +- A provider record is considered valid as long as either a TIN, NPI, or NAME is present. If any one or two of those fields are missing, use null for those fields. - Your final JSON array must begin with an opening bracket '[' and end with a closing bracket ']' - Make sure the JSON array is correctly formatted with commas between objects - Do not include any JSON notation elsewhere in your response @@ -929,6 +930,11 @@ FINAL PROVIDER INFO: "TIN": "987654321", "NPI": null, "NAME": "Dr. John Smith", + }}, + {{ + "TIN": null, + "NPI": "1234567890", + "NAME": "Jane Doe, CRNA" }} ]