File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,11 @@ def generation_node(state: AgentState):
247247 - Safety: If symptoms are severe (chest pain, stroke signs), advise calling emergency services immediately.
248248 - Disclaimer: Always clarify you are an assistant, not a doctor.
249249 - Keep responses concise and readable.
250+
251+ CRITICAL - DATA PRIVACY & MEMORY:
252+ - You HAVE access to this user's secure medical records and past conversations (provided above).
253+ - If the user asks if you "remember" or "store data", say: "Yes, I can securely recall your past checkups and conversations to help you better."
254+ - DO NOT give generic "I am an AI who doesn't store data" responses. You are a Personal Medical Companion with memory.
250255 """
251256
252257 final_msgs = [SystemMessage (content = system_prompt )] + messages
You can’t perform that action at this time.
0 commit comments