QuestionQ9

VerifiedKnowledge Retrieval and Genie Configuration

A data analyst is creating a Genie space for a hospital operations team that needs to analyze emergency department wait times, patient discharge rates, and nurse-to-patient ratios. The engineer has added the relevant tables, written general instructions describing the hospital operations domain, and configured sample questions. Stakeholders require any metric involving nurse-to-patient ratios to use the official staffing calculation defined by the compliance team, but Genie should still answer free-form questions about discharge rates and wait times using ad hoc SQL when no trusted asset covers the question.

Which approach should the engineer use to meet both requirements?

Explanation

A trusted example query can provide the compliance-approved staffing calculation for matching nurse-to-patient ratio questions, while Genie can still generate ad hoc SQL for other questions. This is the best available approach, but registering a trusted query alone does not guarantee that Genie will use it for every possible staffing question; matching and outputs should be tested and reviewed. (docs.databricks.com)

Learn more

Community Discussion

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