A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input.
The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects/<Project ID>/locations/<Location
ID>/knowledgeBases/<Knowledge Base ID>.
displayName
string
Required. The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
languageCode
string
Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, this is populated for all non en-us languages. If not populated, the default language en-us applies.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["A KnowledgeBase is a collection of knowledge documents that provide information to Dialogflow for responding to end-user inputs."],["The KnowledgeBase JSON representation includes fields for `name`, `displayName`, and `languageCode`, defining the resource's identity, display name, and language."],["The `name` field of the knowledge base resource must be empty when creating one, following the specified format: `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/knowledgeBases/\u003cKnowledge Base ID\u003e`."],["Several methods are available for managing KnowledgeBases, including creating, deleting, retrieving, listing, and updating them via the provided API endpoints."],["The resource `projects.agent.knowledgeBases` has been deprecated and `projects.knowledgeBases` should be used instead."]]],[]]