Google Cloud Dialogflow V2 Client - Class KnowledgeBaseQuerySource (1.6.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class KnowledgeBaseQuerySource.

Knowledge base source settings.

Supported features: ARTICLE_SUGGESTION, FAQ.

Generated from protobuf message google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource

Namespace

Google \ Cloud \ Dialogflow \ V2 \ HumanAgentAssistantConfig \ SuggestionQueryConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ knowledge_bases array

Required. Knowledge bases to query. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>. Currently, at most 5 knowledge bases are supported.

getKnowledgeBases

Required. Knowledge bases to query. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>. Currently, at most 5 knowledge bases are supported.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setKnowledgeBases

Required. Knowledge bases to query. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>. Currently, at most 5 knowledge bases are supported.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this