Dialogflow v3 API - Class KnowledgeConnectorSettings (2.11.0)

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.

Inheritance

object > KnowledgeConnectorSettings

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

KnowledgeConnectorSettings()

public KnowledgeConnectorSettings()

KnowledgeConnectorSettings(KnowledgeConnectorSettings)

public KnowledgeConnectorSettings(KnowledgeConnectorSettings other)
Parameter
NameDescription
otherKnowledgeConnectorSettings

Properties

DataStoreConnections

public RepeatedField<DataStoreConnection> DataStoreConnections { get; }

Optional. List of related data store connections.

Property Value
TypeDescription
RepeatedFieldDataStoreConnection

Enabled

public bool Enabled { get; set; }

Whether Knowledge Connector is enabled or not.

Property Value
TypeDescription
bool

HasTargetFlow

public bool HasTargetFlow { get; }

Gets whether the "target_flow" field is set

Property Value
TypeDescription
bool

HasTargetPage

public bool HasTargetPage { get; }

Gets whether the "target_page" field is set

Property Value
TypeDescription
bool

TargetCase

public KnowledgeConnectorSettings.TargetOneofCase TargetCase { get; }
Property Value
TypeDescription
KnowledgeConnectorSettingsTargetOneofCase

TargetFlow

public string TargetFlow { get; set; }

The target flow to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

Property Value
TypeDescription
string

TargetFlowAsFlowName

public FlowName TargetFlowAsFlowName { get; set; }

FlowName-typed view over the TargetFlow resource name property.

Property Value
TypeDescription
FlowName

TargetPage

public string TargetPage { get; set; }

The target page to transition to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

Property Value
TypeDescription
string

TargetPageAsPageName

public PageName TargetPageAsPageName { get; set; }

PageName-typed view over the TargetPage resource name property.

Property Value
TypeDescription
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
TypeDescription
Fulfillment