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 Google Cloud Dialogflow v2 API class \u003ccode\u003eKnowledgeBase\u003c/code\u003e, offering detailed information about its structure and usage within the .NET framework.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the API, starting from version 4.26.0 (latest) down to version 3.2.0, with each version link leading to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eKnowledgeBase\u003c/code\u003e represents a collection of documents provided to Dialogflow to help in conversations, and the documentation provides information on its constructors, properties, and inherited members.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the \u003ccode\u003eKnowledgeBase\u003c/code\u003e class's implementation of several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and includes details about the DisplayName, KnowledgeBaseName, LanguageCode, and Name properties.\u003c/p\u003e\n"],["\u003cp\u003eIt mentions that the \u003ccode\u003eprojects.agent.knowledgeBases\u003c/code\u003e resource is deprecated and users should only use \u003ccode\u003eprojects.knowledgeBases\u003c/code\u003e going forward.\u003c/p\u003e\n"]]],[],null,[]]