Google Cloud Dialogflow V2 Client - Class KnowledgeBaseQuerySource (1.14.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
Name Description
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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this