This guide provides an overview of the Agent Builder console.
Introduction videos
Introduction
Getting Started Part 1 - Introduction
Getting Started Part 2 - Tools
Getting Started Part 3 - Data Stores
Getting Started Part 4 - Personalization and Examples
Left menu navigation
The Dialogflow user interface has the following left navigation menu items:
Name | Description |
---|---|
Playbooks | Used to create and edit playbooks for your agent. |
Tools | Tools are used to connect to APIs or data stores. |
Test cases | List and run test cases created with the simulator. |
Conversation history | Provides the conversation history for all interactions with the agent. |
Integrations | Integrate with other conversation platforms. |
Agent settings | Change settings such as agent name, location, models, and logging. |
Prebuilt playbooks | Example playbooks for popular domains. |
Create an agent
To create an agent:
- If you have not already, follow the Conversational Agents (Dialogflow CX) setup instructions.
Go to the Agent Builder console:
Select your project from the console drop-down.
If you have not already activated the API, read and agree to the Terms of Service, then click Continue and activate the API.
Click Create a New App or New App.
Select Agent.
Provide a name for your agent.
Select a region.
Click Create.
The list of playbooks for the agent is shown. Click Create to create a new playbook for the agent.
Provide a name.
Provide a goal.
Provide instructions.
Click the Examples tab, then click +Example to provide playbook examples.
To enable conversation history, click the settings icon on the left navigation, then Logging, Enable Conversation History.
To enable logging for debug purposes, click the settings icon on the left navigation, then Logging, Enable Cloud Logging.
To select the model, click the settings icon on the left navigation, then select the Vertex AI model.
Test cases
The existing test case feature has been enhanced to support playbooks.
A required expected test case result field has been added, which provides a list of actions in the form of playbook examples. The test case verifies that the actions were performed as expected.
When viewing a playbook or playbook version, you can click the Test cases tab above the playbook data to see test case results and to execute a test case on demand.
You can also compare test case results for different versions of a playbook. Select a test case, then click Compare.
To see all test cases for the playbook, click Test cases in the left navigation.
Conversation history
The existing conversation history feature has been enhanced to support playbooks.
Information has been added for tool execution, playbook invocation, and flow invocation from a playbook.
Playbook versions
You can save playbook versions, which are immutable snapshots of playbooks.
To save a playbook version:
- Load the playbook in the console.
- Click Version history.
- Click Create version.
- Provide a version name and click Save.
To view version history:
- Load the playbook in the console.
- Click Version history.
- Click View version history.
- The version history panel opens on the right side. You can click each version to see its content.