Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class KnowledgeConnectorSettings.
The Knowledge Connector settings for this page or flow.
This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.
Generated from protobuf message google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ enabled
bool
Whether Knowledge Connector is enabled or not.
↳ trigger_fulfillment
Fulfillment
The fulfillment to be triggered. When the answers from the Knowledge Connector are selected by Dialogflow, you can utitlize the request scoped parameter $request.knowledge.answers
(contains up to the 5 highest confidence answers) and $request.knowledge.questions
(contains the corresponding questions) to construct the fulfillment.
↳ target_page
string
The target page to transition to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>
.
↳ target_flow
string
The target flow to transition to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>
.
↳ data_store_connections
getEnabled
Whether Knowledge Connector is enabled or not.
bool
setEnabled
Whether Knowledge Connector is enabled or not.
var
bool
$this
getTriggerFulfillment
The fulfillment to be triggered.
When the answers from the Knowledge Connector are selected by Dialogflow,
you can utitlize the request scoped parameter $request.knowledge.answers
(contains up to the 5 highest confidence answers) and $request.knowledge.questions
(contains the corresponding questions) to
construct the fulfillment.
hasTriggerFulfillment
clearTriggerFulfillment
setTriggerFulfillment
The fulfillment to be triggered.
When the answers from the Knowledge Connector are selected by Dialogflow,
you can utitlize the request scoped parameter $request.knowledge.answers
(contains up to the 5 highest confidence answers) and $request.knowledge.questions
(contains the corresponding questions) to
construct the fulfillment.
$this
getTargetPage
The target page to transition to.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>
.
string
hasTargetPage
setTargetPage
The target page to transition to.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>
.
var
string
$this
getTargetFlow
The target flow to transition to.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>
.
string
hasTargetFlow
setTargetFlow
The target flow to transition to.
Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>
.
var
string
$this
getDataStoreConnections
Optional. List of related data store connections.
setDataStoreConnections
Optional. List of related data store connections.
$this
getTarget
string