QuestionQ32

VerifiedKnowledge Retrieval and Genie Configuration

A context engineer is building a compound AI system for a hospital network with Agent Bricks Custom Agents. The system answers clinician questions about a specific patient’s medication history. Patient records are stored in a Delta table that is continuously updated as new prescriptions, refills, and discontinuations are recorded, and clinicians must see the most current state of a patient’s record when they submit a query. HIPAA’s minimum necessary rule requires the system to retrieve only the requesting patient’s records instead of searching across the broader patient population. End-to-end latency per query must stay under two seconds.

Which retrieval strategy should the context engineer use?

Explanation

A parameterized query against the Delta table retrieves the specified patient’s current committed records directly, without waiting for an index to synchronize. Continuous AI Search synchronization can have seconds of latency. Patient scope must also be enforced through authorization controls. The query and agent workflow should be optimized and measured to verify the under-two-second requirement; this strategy alone does not guarantee it. (docs.databricks.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!