NlpSemanticParsingProtoActionsOnGoogleTypedValue

AI Overview😉

  • Potential purpose of module in simple language: This module, `NlpSemanticParsingProtoActionsOnGoogleTypedValue`, is designed to understand and interpret the meaning of search queries by identifying the type of value associated with a particular slot or field. It can determine if the value is a boolean, date/time, number, or string, which helps Google's algorithm to better comprehend the search intent and provide more accurate results.
  • How it could impact search results: By accurately identifying the type of value associated with a search query, this module can improve the relevance and accuracy of search results. For example, if a user searches for "best restaurants in New York", the module can identify "New York" as a location (string value) and "best restaurants" as a category (string value), which can help Google's algorithm to provide more targeted results. This can lead to a better user experience and more relevant search results.
  • How a website may change things to be more favorable for this function: To optimize for this module, websites can focus on providing clear and structured data on their pages, such as using schema.org markup to identify key entities like locations, dates, and numbers. This can help Google's algorithm to better understand the content and context of the page, leading to more accurate and relevant search results. Additionally, using clear and concise language in page titles, descriptions, and headings can also help the module to better interpret the meaning and intent behind the content.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Used by on-device Heron. Contains information about the type of slot value returned.

Attributes

  • boolValue (type: boolean(), default: nil) - Represents a boolean value.
  • dateTimeValue (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTime.t, default: nil) - Represents date or time.
  • numberValue (type: float(), default: nil) - Represents number value. In accordance to ParamValue fields(https://source.corp.google.com/piper///depot/google3/third_party/java_src/appactions/proto/app_actions_data.proto;rcl=431529042;l=12)
  • stringValue (type: String.t, default: nil) - Represents a string value.

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.NlpSemanticParsingProtoActionsOnGoogleTypedValue{
    boolValue: boolean() | nil,
    dateTimeValue:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleDateTime.t()
      | nil,
    numberValue: float() | nil,
    stringValue: String.t() | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.