This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A clinical agent must recall that a specific patient reported shortness of breath during a visit three months ago, and also use the broader knowledge that patients on this medication class commonly report respiratory symptoms. Which memory types are needed?
Working memory for the specific visit record and semantic memory for the medication pattern—episodic memory isn't needed for this use case.
Episodic memory for the specific patient visit and semantic memory for the generalized clinical pattern observed across many similar cases.
Semantic memory only—generalized clinical knowledge covers both the specific visit record and the medication pattern.
Your context window is full at 16K tokens. You have 20 stored memories but can inject only five. The current consultation is a routine medication refill with straightforward context needs. Which memory selection strategy is most efficient?
Importance-based selection: inject the five memories with the highest combined recency and importance scores.
Sliding window: inject the five most recent memories to ensure the most current context is available.
Hybrid selection: inject the most recent three memories plus the two highest-importance nonrecent memories.
A Cosmos DB query in your memory retrieval service accidentally returns memories from a different patient when the requesting agent's session context contains an incorrect tenant ID. What architectural control best prevents this?
Enable CMK encryption on the Cosmos DB container so each patient's data is encrypted with their own key.
Use the patient ID as the Cosmos DB partition key and enforce a tenant boundary validator middleware that verifies the session's authorized patient scope before executing any memory query.
Add a 'WHERE patient_id = :id' filter to all Cosmos DB queries to ensure patient-scoped retrieval.
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?