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

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/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.