cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Can Genie ask clarifying questions?

yvesbeutler
New Contributor III

I am looking for a way to force Genie to ask questions when an instruction is not entirely clear. Are there specific options or instructions that I could use for this, or is it managed internally by Databricks and we cannot adjust it?

I would like Genie to ask for clarification when the time period is unclear or when I mention clients, asking whether I mean private or business clients. Unfortunately, I can't achieve this through instructions.

Thanks for any help!

1 ACCEPTED SOLUTION

Accepted Solutions

Vinay_M_R
Databricks Employee
Databricks Employee

Hello @yvesbeutler ,

AI/BI Genie selects relevant names and descriptions from annotated tables and columns to convert natural language questions to an equivalent SQL query. Then, it responds with the generated query and results table, if possible. If Genie can't generate an answer, it can ask follow-up questions to clarify before providing a response.

I am sharing official documentation for your reference: https://learn.microsoft.com/en-us/azure/databricks/genie/#overview

You can follow below instructions/best practice that you can use to achieve this: 
1.) You can add instructions along these lines E.g. ask users to clarify words like effective, best, etc which are relevant to their query.

2.) You can also add the general instructions like: "If the user asks vague or unclear questions, ask for follow-up clarifications before generating results."

3.)After following what is mentioned in 2. if still Genie continues to directly generate results. Once it generates the results, you can click on "Fix it" and then provide the exact same instruction again and see if that helps.

I hope this helps!

View solution in original post

2 REPLIES 2

Vinay_M_R
Databricks Employee
Databricks Employee

Hello @yvesbeutler ,

AI/BI Genie selects relevant names and descriptions from annotated tables and columns to convert natural language questions to an equivalent SQL query. Then, it responds with the generated query and results table, if possible. If Genie can't generate an answer, it can ask follow-up questions to clarify before providing a response.

I am sharing official documentation for your reference: https://learn.microsoft.com/en-us/azure/databricks/genie/#overview

You can follow below instructions/best practice that you can use to achieve this: 
1.) You can add instructions along these lines E.g. ask users to clarify words like effective, best, etc which are relevant to their query.

2.) You can also add the general instructions like: "If the user asks vague or unclear questions, ask for follow-up clarifications before generating results."

3.)After following what is mentioned in 2. if still Genie continues to directly generate results. Once it generates the results, you can click on "Fix it" and then provide the exact same instruction again and see if that helps.

I hope this helps!

Sharanya13
Contributor III

Thanks @Vinay_M_R for the detailed explanation. It's good to know that Genie can ask clarifying questions.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now