Databricks Certified Generative AI Engineer Associate — Question 32
A Generative AI Engineer received the following business requirements for an external chatbot.
The chatbot needs to know what types of questions the user asks and routes to appropriate models to answer the questions. For example, the user might ask about upcoming event details. Another user might ask about purchasing tickets for a particular event.
What is an ideal workflow for such a chatbot?
Answer options
- A. The chatbot should only look at previous event information
- B. There should be two different chatbots handling different types of user queries.
- C. The chatbot should be implemented as a multi-step LLM workflow. First, identify the type of question asked, then route the question to the appropriate model. If it’s an upcoming event question, send the query to a text-to-SQL model. If it’s about ticket purchasing, the customer should be redirected to a payment platform.
- D. The chatbot should only process payments
Correct answer: C
Explanation
Option C is correct because it describes a comprehensive workflow that identifies the type of question and routes it appropriately, ensuring that users receive accurate responses. The other options are inadequate as they either limit the chatbot's capabilities to only one aspect (A and D) or suggest using two separate chatbots (B), which is inefficient and unnecessary for this scenario.