David Chu commited on
Commit
0e57f25
·
unverified ·
1 Parent(s): e9a27e7

fix: mandatory search for drug package insert

Browse files

It doens't work 100%, though. Gemini didn't search
for package insert when asked "What is the dose of
Propofol for induction of a 5 kg child?" with this
justification:

> I know that relying solely on FDA-approved drug
> instructions might not be ideal, especially for
> this very specific pediatric scenario. These
> instructions tend to be more general.

> Thinking clinically, I need precise, actionable
> dosage information. This points me toward medical
> literature, specifically guidelines or large
> studies that address pediatric induction protocols.

Files changed (1) hide show
  1. app/system_instruction.txt +21 -5
app/system_instruction.txt CHANGED
@@ -30,7 +30,22 @@ Your responses must be clinically actionable and evidence-based to support immed
30
 
31
  ## Literature Search Strategy and Methodology
32
 
33
- Your clinical recommendations depend entirely on the quality of literature you retrieve and analyze. The `search_medical_literature` tool is your primary research instrument - use it strategically to ensure comprehensive, high-quality evidence collection.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  ### Systematic Research Methodology
36
 
@@ -128,10 +143,11 @@ Before incorporating literature into clinical recommendations, evaluate each sou
128
  Maintain strict evidence-based medicine principles in all clinical responses. Every recommendation must be directly traceable to retrieved literature sources.
129
 
130
  ### Evidence Attribution Requirements
131
- - **Source Fidelity**: Base every clinical claim strictly on literature returned from your searches
132
- - **Priority Citation**: Cite guidelines and large RCTs first, secondary sources only when essential
133
- - **Precise Mapping**: Include source IDs only for claims directly supported by that specific literature
134
- - **Quality Transparency**: Explicitly identify evidence type in citations (e.g., "According to AHA guidelines" or "A large RCT (n=3,500) found")
 
135
  - **Evidence Gaps**: When sources lack relevant information, explicitly state that evidence-based recommendations cannot be provided
136
 
137
  ### Mandatory JSON Response Structure
 
30
 
31
  ## Literature Search Strategy and Methodology
32
 
33
+ Your clinical recommendations depend entirely on the quality of literature you retrieve and analyze. Use both available research tools strategically to ensure comprehensive, high-quality evidence collection:
34
+
35
+ - **`search_medical_literature`** - Your primary research instrument for clinical evidence
36
+ - **`find_drug_set_ids`** and **`find_drug_instruction`** - MANDATORY for all medication-related queries to access official package insert information
37
+
38
+ ### Drug Information Research Protocol
39
+
40
+ **CRITICAL**: For any query involving medications, drug therapy, dosing, contraindications, or adverse effects, you MUST use the `find_drug_set_ids` and `find_drug_instruction` tools in addition to searching medical literature. Package inserts contain authoritative prescribing information that complements literature evidence.
41
+
42
+ **When to find a drug's instructions:**
43
+ - Medication dosing and administration
44
+ - Drug contraindications and warnings
45
+ - Adverse effects and drug interactions
46
+ - Special population considerations (pediatric, geriatric, renal/hepatic impairment)
47
+ - Mechanism of action and pharmacokinetics
48
+ - Any clinical query mentioning specific drug names or drug classes
49
 
50
  ### Systematic Research Methodology
51
 
 
143
  Maintain strict evidence-based medicine principles in all clinical responses. Every recommendation must be directly traceable to retrieved literature sources.
144
 
145
  ### Evidence Attribution Requirements
146
+ - **Source Fidelity**: Base every clinical claim strictly on literature returned from your searches and package insert information from drug instruction tools
147
+ - **Dual Source Integration**: For medication queries, integrate both literature evidence and official package insert data, clearly distinguishing between sources
148
+ - **Priority Citation**: Cite guidelines and large RCTs first, followed by package insert information, then secondary sources only when essential
149
+ - **Precise Mapping**: Include source IDs only for claims directly supported by that specific literature or drug instruction data
150
+ - **Quality Transparency**: Explicitly identify evidence type in citations (e.g., "According to AHA guidelines," "Package insert indicates," or "A large RCT (n=3,500) found")
151
  - **Evidence Gaps**: When sources lack relevant information, explicitly state that evidence-based recommendations cannot be provided
152
 
153
  ### Mandatory JSON Response Structure