Google Professional Machine Learning Engineer Question 54
Select 3Google Cloud PlatformYou are building a chatbot using Google Cloud's Dialogflow CX and want to use Agent Builder to streamline the process. Your goal is to create an agent that can respond to user inquiries about product pricing and availability. Which of the following steps should you take to properly utilize Agent Builder to achieve this?
- A
Define intents and corresponding training phrases for user queries such as 'What is the price of product X?'
- B
Set up webhook integrations to fetch live product pricing and availability information from external APIs.
- C
Use Agent Builder to automatically generate a custom machine learning model for sentiment analysis.
- D
Create entity types to recognize product names and other relevant details in user inputs.
- E
Leverage Agent Builder to directly configure fulfillment responses without requiring manual intent creation.
Show answer and explanation
Correct answers: A, B, D
Explanation
To design a chatbot for handling product pricing and availability inquiries, you need to define intents and training phrases to understand user input, set up webhook integrations to fetch dynamic data, and create entity types to extract key details. These steps utilize Agent Builder effectively while also leveraging Dialogflow CX's core functionalities. However, Agent Builder is not a tool for tasks like sentiment analysis or fully automating intent creation and fulfillment configuration.
- A. Correct.
Correct: Defining intents and training phrases is a fundamental step in setting up a Dialogflow CX agent and is essential for handling specific user queries.
- B. Correct.
Correct: Webhook integrations are necessary for retrieving dynamic or external data such as live pricing or availability, which are not static responses.
- C. Incorrect.
Incorrect: Agent Builder is not specifically used to generate machine learning models for sentiment analysis in Dialogflow CX. Sentiment analysis is a separate feature.
- D. Correct.
Correct: Creating entity types allows the agent to identify and extract key pieces of information such as product names from user inputs, which is crucial for fulfilling user requests.
- E. Incorrect.
Incorrect: While Agent Builder simplifies the creation of agents, it does not completely automate the process of manually defining intents or configuring fulfillment responses.