NlpSemanticParsingDatetimeResolutionProperties

AI Overview😉

  • The potential purpose of this module is to help Google understand and interpret date and time-related queries in search inputs, taking into account the context and nuances of natural language. It aims to resolve datetime mentions in the query span to provide more accurate search results.
  • This module could impact search results by allowing Google to better understand the intent behind datetime-related searches, such as "events happening this weekend" or "flights departing tomorrow morning". This could lead to more relevant and accurate results, as the search engine can differentiate between similar queries with different datetime contexts.
  • To be more favorable for this function, a website could ensure that its content includes clear and specific datetime information, such as including the day of the week, time of day, or relative timeframes (e.g., "this week", "next month"). Additionally, using schema markup for events and datetime-related data could help Google's algorithm better understand the context and meaning of the content, leading to more accurate search results.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties (google_api_content_warehouse v0.4.0)

Encapsulates metadata about the query span resolved here.

Attributes

  • meridiem (type: String.t, default: nil) - Simple enum container for exporting meridiem mentions. Note: this is marked as deprecated as we are moving to properly parse expressions with explicit meridiem information.
  • metadata (type: String.t, default: nil) - Encodes whether the datetime was phrased in a specific way, see enum above.
  • relative (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t, default: nil) - Expresses the relative DateTime query that gave rise to these grounded semantics.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeResolutionProperties{
    meridiem: String.t() | nil,
    metadata: String.t() | nil,
    relative:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeRelativeDateTime.t()
      | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.