GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2KnowledgeBase (google_api_dialogflow v0.66.2) View Source

A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input. For more information, see the knowledge base guide. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

Attributes

  • displayName (type: String.t, default: nil) - Required. The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.
  • languageCode (type: String.t, default: nil) - Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, expect this to be present for non en-us languages. When unspecified, the default language code en-us applies.
  • name (type: String.t, default: nil) - The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2KnowledgeBase{
  displayName: String.t() | nil,
  languageCode: String.t() | nil,
  name: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.