View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationModel (google_api_dialogflow v0.78.0)

Represents a conversation model.

Attributes

  • articleSuggestionModelMetadata (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ArticleSuggestionModelMetadata.t, default: nil) - Metadata for article suggestion models.
  • createTime (type: DateTime.t, default: nil) - Output only. Creation time of this model.
  • datasets (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputDataset.t), default: nil) - Required. Datasets used to create model.
  • displayName (type: String.t, default: nil) - Required. The display name of the model. At most 64 bytes long.
  • languageCode (type: String.t, default: nil) - Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".
  • name (type: String.t, default: nil) - ConversationModel resource name. Format: projects//conversationModels/
  • smartReplyModelMetadata (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyModelMetadata.t, default: nil) - Metadata for smart reply models.
  • state (type: String.t, default: nil) - Output only. State of the model. A model can only serve prediction requests after it gets deployed.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationModel{
  articleSuggestionModelMetadata:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ArticleSuggestionModelMetadata.t()
    | nil,
  createTime: DateTime.t() | nil,
  datasets:
    [GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2InputDataset.t()]
    | nil,
  displayName: String.t() | nil,
  languageCode: String.t() | nil,
  name: String.t() | nil,
  smartReplyModelMetadata:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SmartReplyModelMetadata.t()
    | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.