View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3KnowledgeConnectorSettings (google_api_dialogflow v0.88.0)

The Knowledge Connector settings for this page or flow. This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.

Attributes

  • dataStoreConnections (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3DataStoreConnection.t), default: nil) - Optional. List of related data store connections.
  • enabled (type: boolean(), default: nil) - Whether Knowledge Connector is enabled or not.
  • targetFlow (type: String.t, default: nil) - The target flow to transition to. Format: projects//locations//agents//flows/.
  • targetPage (type: String.t, default: nil) - The target page to transition to. Format: projects//locations//agents//flows//pages/.
  • triggerFulfillment (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3Fulfillment.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3KnowledgeConnectorSettings{
    dataStoreConnections:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3DataStoreConnection.t()
      ]
      | nil,
    enabled: boolean() | nil,
    targetFlow: String.t() | nil,
    targetPage: String.t() | nil,
    triggerFulfillment:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3Fulfillment.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.