public sealed class KnowledgeConnectorSettings : IMessage<KnowledgeConnectorSettings>, IEquatable<KnowledgeConnectorSettings>, IDeepCloneable<KnowledgeConnectorSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API 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.
Implements
IMessageKnowledgeConnectorSettings, IEquatableKnowledgeConnectorSettings, IDeepCloneableKnowledgeConnectorSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
KnowledgeConnectorSettings()
public KnowledgeConnectorSettings()
KnowledgeConnectorSettings(KnowledgeConnectorSettings)
public KnowledgeConnectorSettings(KnowledgeConnectorSettings other)
Parameter | |
---|---|
Name | Description |
other |
KnowledgeConnectorSettings |
Properties
DataStoreConnections
public RepeatedField<DataStoreConnection> DataStoreConnections { get; }
Optional. List of related data store connections.
Property Value | |
---|---|
Type | Description |
RepeatedFieldDataStoreConnection |
Enabled
public bool Enabled { get; set; }
Whether Knowledge Connector is enabled or not.
Property Value | |
---|---|
Type | Description |
bool |
HasTargetFlow
public bool HasTargetFlow { get; }
Gets whether the "target_flow" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasTargetPage
public bool HasTargetPage { get; }
Gets whether the "target_page" field is set
Property Value | |
---|---|
Type | Description |
bool |
TargetCase
public KnowledgeConnectorSettings.TargetOneofCase TargetCase { get; }
Property Value | |
---|---|
Type | Description |
KnowledgeConnectorSettingsTargetOneofCase |
TargetFlow
public string TargetFlow { get; set; }
The target flow to transition to.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>
.
Property Value | |
---|---|
Type | Description |
string |
TargetFlowAsFlowName
public FlowName TargetFlowAsFlowName { get; set; }
FlowName-typed view over the TargetFlow resource name property.
Property Value | |
---|---|
Type | Description |
FlowName |
TargetPage
public string TargetPage { get; set; }
The target page to transition to.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>
.
Property Value | |
---|---|
Type | Description |
string |
TargetPageAsPageName
public PageName TargetPageAsPageName { get; set; }
PageName-typed view over the TargetPage resource name property.
Property Value | |
---|---|
Type | Description |
PageName |
TriggerFulfillment
public Fulfillment TriggerFulfillment { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Fulfillment |