public sealed class KnowledgeBase : IMessage<KnowledgeBase>, IEquatable<KnowledgeBase>, IDeepCloneable<KnowledgeBase>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class KnowledgeBase.
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.
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.
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>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eKnowledgeBase\u003c/code\u003e class within the Google Cloud Dialogflow v2 API for .NET, detailing its use in managing collections of knowledge documents for Dialogflow interactions.\u003c/p\u003e\n"],["\u003cp\u003eThe content outlines various versions of the API, ranging from the latest 4.26.0 down to 3.2.0, and highlights the current page is viewing version 4.22.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKnowledgeBase\u003c/code\u003e class, which implements multiple interfaces, represents a collection of documents that provide useful information during end-user conversations, and it is associated with a \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eKnowledgeBaseName\u003c/code\u003e, \u003ccode\u003eLanguageCode\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation emphasizes that the resource \u003ccode\u003eprojects.agent.knowledgeBases\u003c/code\u003e is deprecated, and \u003ccode\u003eprojects.knowledgeBases\u003c/code\u003e should be used instead.\u003c/p\u003e\n"],["\u003cp\u003eIt offers detailed information on the class's constructors, such as \u003ccode\u003eKnowledgeBase()\u003c/code\u003e and \u003ccode\u003eKnowledgeBase(KnowledgeBase other)\u003c/code\u003e, and its properties, including \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eKnowledgeBaseName\u003c/code\u003e, \u003ccode\u003eLanguageCode\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]