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, expect this to be present for non en-us languages. When unspecified, the default language code 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-06-27 UTC."],[[["\u003cp\u003eA KnowledgeBase is a collection of knowledge documents used by Dialogflow to provide information during conversations with end-users.\u003c/p\u003e\n"],["\u003cp\u003eThe KnowledgeBase JSON representation includes fields for \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003edisplayName\u003c/code\u003e, and \u003ccode\u003elanguageCode\u003c/code\u003e, where \u003ccode\u003edisplayName\u003c/code\u003e is required and \u003ccode\u003ename\u003c/code\u003e should be empty upon creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field in the KnowledgeBase JSON represents the resource name, and it follows the format: \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are five methods associated with a knowledge base: \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003epatch\u003c/code\u003e, which allow for managing knowledge base content.\u003c/p\u003e\n"],["\u003cp\u003eThe resource path \u003ccode\u003eprojects.agent.knowledgeBases\u003c/code\u003e is deprecated, and users should use \u003ccode\u003eprojects.knowledgeBases\u003c/code\u003e instead.\u003c/p\u003e\n"]]],[],null,[]]