Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Os recursos Sugestão de
artigo e Assistente de
perguntas frequentes do Agent Assist acompanham uma conversa entre um agente
humano e um usuário final e oferecem ao agente humano sugestões de documentos
relevantes. Os dois recursos fazem sugestões com base em bases de conhecimento, que são coleções de documentos que você envia para o Agent Assist. Esses documentos são chamados de documentos de conhecimento e podem ser
artigos (para uso com a sugestão de artigos) ou documentos de perguntas frequentes (para uso com
a assistência para perguntas frequentes). Consulte a documentação de documentos de conhecimento para informações sobre práticas recomendadas e a página de visão geral dos dados para mais detalhes sobre os tipos de dados que podem ser enviados para o Assistente de agente. Este
tutorial mostra as etapas necessárias para criar uma base de conhecimento e adicionar
documentos a ela usando o console do Agent Assist.
Antes de começar
Siga as instruções de configuração do Dialogflow
para ativar o Dialogflow em um projeto do Google Cloud Platform.
Recomendamos que você leia a página noções básicas do Assistente de agente antes de começar este tutorial.
Se você estiver criando uma base de conhecimento para usar com a Sugestão de artigo, verifique se os documentos de conhecimento estão em um dos dois formatos:
Se você estiver criando uma base de conhecimento para usar com o Assistente de perguntas frequentes, verifique se os documentos de perguntas frequentes estão em um dos três formatos:
Se o documento de perguntas frequentes estiver no formato .csv, ele precisará ter duas colunas. As perguntas frequentes precisam estar na primeira coluna, e as respostas de cada uma delas, na segunda. Cada pergunta e resposta associada é chamada de par de perguntas frequentes. Verifique se o arquivo .csv não tem uma linha de cabeçalho.
Console. Selecione seu projeto Google Cloud e clique na opção de menu Dados na margem esquerda da página. O menu Dados mostra todas as suas informações. Há duas guias, uma para conjuntos de dados de conversas e outra para bases de conhecimento.
Clique em Bases de conhecimento e no botão +Criar nova na parte de cima da página.
No menu que aparece, digite um nome para a base de conhecimento e escolha um idioma.
Você vai ver uma lista (atualmente vazia) de todos os documentos que fazem parte dessa base de conhecimento. Para adicionar um documento, clique em +Criar novo.
Em Escolher um tipo de conhecimento, selecione Perguntas frequentes se você estiver enviando documentos de perguntas frequentes para usar com o Assistente de perguntas frequentes ou Sugestão de artigo se estiver enviando artigos para usar com a Sugestão de artigo.
Em Escolher uma origem de arquivo, selecione o local do documento que você está adicionando. Consulte a seção Antes de começar para detalhes sobre locais e formatos de arquivo compatíveis.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-01 UTC."],[[["\u003cp\u003eAgent Assist's Article Suggestion and FAQ Assist provide human agents with relevant document suggestions during conversations with end-users, based on uploaded collections of documents called knowledge bases.\u003c/p\u003e\n"],["\u003cp\u003eKnowledge documents, which can be either articles or FAQ documents, must be in specific formats, such as a public URL or a file stored in a Cloud Storage bucket, depending on whether they are for Article Suggestion or FAQ Assist.\u003c/p\u003e\n"],["\u003cp\u003eCreating a knowledge base in the Agent Assist Console involves selecting a project, navigating to the Data menu, creating a new knowledge base, choosing a knowledge type (FAQ or article suggestion), and adding documents one at a time.\u003c/p\u003e\n"],["\u003cp\u003eIf uploading FAQ documents in \u003ccode\u003e.csv\u003c/code\u003e format, the file must have two columns containing the FAQ questions and answers, respectively, without a header row.\u003c/p\u003e\n"],["\u003cp\u003eWhile the Agent Assist Console requires adding documents one at a time, the Agent Assist API is recommended for uploading large quantities of documents, with a suggestion of at least 50 documents per knowledge base.\u003c/p\u003e\n"]]],[],null,["# Create a knowledge base\n\nThe Agent Assist [Article\nSuggestion](/agent-assist/docs/article-suggestion) and [FAQ\nAssist](/agent-assist/docs/faq) features follow a conversation between a human\nagent and an end-user and provide the human agent with relevant document\nsuggestions. Both features make suggestions based on\n*knowledge bases* , collections of documents that you upload to\nAgent Assist. These documents are called *knowledge documents* and can be\neither articles (for use with Article Suggestion) or FAQ documents (for use with\nFAQ Assist). See the [knowledge documents\ndocumentation](/agent-assist/docs/knowledge-documents) for best practices\ninformation and the [data overview page](/agent-assist/docs/data) for more\ndetails on the types of data that can be uploaded to Agent Assist. This\ntutorial walks you through the steps required to create a knowledge base and add\ndocuments to it using the Agent Assist Console.\n\nBefore you begin\n----------------\n\n1. Follow the [Dialogflow setup](https://cloud.google.com/dialogflow/es/docs/quick/setup?hl=en) instructions to enable Dialogflow on a Google Cloud Platform project.\n2. We recommend that you read the Agent Assist [basics\n page](/agent-assist/docs/basics) before starting this tutorial.\n3. If you are creating a knowledge base for use with [Article\n Suggestion](/agent-assist/docs/article-suggestion), make sure that your knowledge documents are in one of two formats:\n - A public URL.\n - A file stored in a [Cloud Storage\n bucket](/storage/docs/creating-buckets).\n4. If you are creating a knowledge base for use with [FAQ\n Assist](/agent-assist/docs/faq), make sure that your FAQ documents are in\n one of three formats:\n\n - A public URL.\n - A `csv` file saved in a [Cloud Storage\n bucket](/storage/docs/creating-buckets).\n - The contents of a `csv` file.\n\n If your FAQ document is in `.csv` format, it must contain two columns. FAQ\n questions must be listed in the first column, and the answers to each\n question must be listed in the second column. Each FAQ question and its\n associated answer is called an **FAQ pair** . Make sure that the `.csv` file\n does not contain a header row.\n\nCreate a knowledge base\n-----------------------\n\n1. Navigate to the [Agent Assist](https://agentassist.cloud.google.com)\n\n [](https://agentassist.cloud.google.com)\n\n [Console](https://agentassist.cloud.google.com). Select your Google Cloud project, then click the\n **Data** menu option on the far left margin of the page. The **Data** menu\n displays all of your data. There are two tabs, one each for **conversation\n datasets** and\n **knowledge bases**.\n2. Click **knowledge bases** , then the **+Create new** button at the top of the\n knowledge bases page.\n\n3. In the menu that pops up enter a name for the knowledge base and choose a\n language.\n\n4. You will see a list (currently empty) of all documents that are part of this\n knowledge base. To add a document, click **+Create New**.\n\n5. Under **choose a knowledge type** select **FAQ** if you're uploading FAQ\n documents for use with [FAQ Assist](/agent-assist/docs/faq), or\n **article suggestion** if you're uploading articles for use with [Article\n Suggestion](/agent-assist/docs/article-suggestion).\n\n6. Under **choose a file source** , choose the location of the document you're\n adding. See the [before you\n begin](/agent-assist/docs/knowledge-base#before_you_begin) section for\n details on supported locations and file formats.\n\n7. Click **Create** to add the document.\n\n | **Note:** When you use the Agent Assist Console you must add documents to a knowledge base one at a time. If you want to upload a large number of documents, we recommend that you use the [Agent Assist API](/agent-assist/docs/article-suggestion). We recommend that each knowledge base contain at least 50 documents.\n\nWhat's next\n-----------\n\n[Create a conversation profile](/agent-assist/docs/conversation-profile) using\nthe Agent Assist Console."]]