nerdexam
Databricks

GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #25

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…

The correct answer is C. The chatbot should be implemented as a multi-step LLM workflow. First, identify the type of. The ideal solution is a multi-step LLM workflow that first classifies the user's intent (e.g., event information vs. ticket purchasing), then routes the query to the appropriate specialized model or pipeline. This is a classic 'router' or 'intent classification' pattern in…

Building Generative AI Applications

Question

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?

Options

  • AThe chatbot should only look at previous event information
  • BThere should be two different chatbots handling different types of user queries.
  • CThe chatbot should be implemented as a multi-step LLM workflow. First, identify the type of
  • DThe chatbot should only process payments

How the community answered

(49 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    84% (41)
  • D
    10% (5)

Explanation

The ideal solution is a multi-step LLM workflow that first classifies the user's intent (e.g., event information vs. ticket purchasing), then routes the query to the appropriate specialized model or pipeline. This is a classic 'router' or 'intent classification' pattern in agentic AI design. Option A ignores ticket purchasing entirely, Option B creates a fragmented user experience requiring the user to choose upfront, and Option D discards the informational use case. A single, intelligent multi-step workflow that routes internally provides seamless handling of both query types.

Topics

#LLM Workflow#Chatbot Architecture#Intent Classification#Generative AI Applications

Community Discussion

No community discussion yet for this question.

Full GENERATIVE-AI-ENGINEER-ASSOCIATE Practice