The Agent Assist Article Suggestion and FAQ Assist features follow a conversation between a human agent and an end-user and provide the human agent with relevant document suggestions. Both features make suggestions based on knowledge bases, collections of documents that you upload to Agent Assist. These documents are called knowledge documents and can be either articles (for use with Article Suggestion) or FAQ documents (for use with FAQ Assist). See the knowledge documents documentation for best practices information and the data overview page for more details on the types of data that can be uploaded to Agent Assist. This tutorial walks you through the steps required to create a knowledge base and add documents to it using the Agent Assist Console.
Before you begin
- Follow the Dialogflow setup instructions to enable Dialogflow on a Google Cloud Platform project.
- We recommend that you read the Agent Assist basics page before starting this tutorial.
- If you are creating a knowledge base for use with Article
Suggestion, make sure that your
knowledge documents are in one of two formats:
- A public URL.
- A file stored in a Cloud Storage bucket.
If you are creating a knowledge base for use with FAQ Assist, make sure that your FAQ documents are in one of three formats:
- A public URL.
- A
csv
file saved in a Cloud Storage bucket. - The contents of a
csv
file.
If your FAQ document is in
.csv
format, it must contain two columns. FAQ questions must be listed in the first column, and the answers to each question must be listed in the second column. Each FAQ question and its associated answer is called an FAQ pair. Make sure that the.csv
file does not contain a header row.
Create a knowledge base
Navigate to the Agent Assist
Console. Select your Google Cloud project, then click the Data menu option on the far left margin of the page. The Data menu displays all of your data. There are two tabs, one each for conversation datasets and knowledge bases.
Click knowledge bases, then the +Create new button at the top of the knowledge bases page.
In the menu that pops up enter a name for the knowledge base and choose a language.
You will see a list (currently empty) of all documents that are part of this knowledge base. To add a document, click +Create New.
Under choose a knowledge type select FAQ if you're uploading FAQ documents for use with FAQ Assist, or article suggestion if you're uploading articles for use with Article Suggestion.
Under choose a file source, choose the location of the document you're adding. See the before you begin section for details on supported locations and file formats.
Click Create to add the document.
What's next
Create a conversation profile using the Agent Assist Console.