View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousTaskState (google_api_content_warehouse v0.3.0)

Value is derived from previous task state (go/taskstates).

Attributes

  • argumentName (type: list(String.t), default: nil) - Argument names in the DialogIntentState that the argument corresponds to. This is repeated so it can handle complex argument update paths. (ordered from outermost argument to innermost argument)
  • currentQueryEvalData (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t), default: nil) - The span(s) in the current query (if any) used to resolve the previous query's DIS. Example: U: Barack Obama G: Do you want his age or his height? U: The first one. G: Age(/m/obama) In this example, the intent is derived from the previous query's DIS, but also needs to be resolved in the current query since the user was presented with multiple options.
  • dialogIntentStateId (type: String.t, default: nil) - The id of the specific DialogIntentState instance that the argument corresponds to.
  • intentName (type: String.t, default: nil) - Intent name of the DialogIntentState that the argument corresponds to.
  • listCandidate (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousTaskStateListCandidate.t, default: nil) -
  • previousFunctionCall (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousTaskStatePreviousFunctionCall.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousTaskState{
    argumentName: [String.t()] | nil,
    currentQueryEvalData:
      [
        GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      ]
      | nil,
    dialogIntentStateId: String.t() | nil,
    intentName: String.t() | nil,
    listCandidate:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousTaskStateListCandidate.t()
      | nil,
    previousFunctionCall:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentProvenancePreviousTaskStatePreviousFunctionCall.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.