NlpSemanticParsingModelsMediaEpisodeConstraint

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaEpisodeConstraint


Table of Contents ▼

Jump to a specific part of the page:

Description

Example: "latest" would constrain the episode to a certain ordinal.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. absoluteIndex (type: integer(), default: nil)
    - The absolute index of the episode. 1 is the first element and -1 is the last element in the sequence, -2 is the second-to-last element, and so on. Examples: "first episode" => 1 "3rd episode" => 3 "last episode" => -1
  2. dateTime (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime, default: nil)
    - Date/time of the message. This could be an absolute date/time (e.g. find my message from monday) or a date/time range (e.g. find my message in the past four hours). This constrains when the episode came out.
  3. description (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaDescription, default: nil)
    - A description of the episode. Example: For the query: [listen to this american life about cars] the description would be "cars"
  4. evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData, default: nil)
    - Required, but should only be used inside Aqua and must not be used by outside clients!!
  5. rawText (type: String.t, default: nil)
    -
  6. relativeIndex (type: integer(), default: nil)
    - The relative index of the episode. Examples: "previous episode" => -1 "current episode" => 0 "next episode" => 1

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaEpisodeConstraint{
absoluteIndex: integer() | nil,
dateTime: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t() | nil,
description: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaDescription.t() | nil,
evalData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() | nil,
rawText: String.t() | nil,
relativeIndex: integer() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaEpisodeConstraint