NlpSemanticParsingLocalLocationConstraint

AI Overview😉

  • The potential purpose of this module is to help Google understand the nuances of natural language searches related to specific locations, such as restaurants, hotels, or electric vehicle charging stations. It appears to be designed to parse and understand various attributes and constraints associated with these locations, like amenities, cuisine, prices, and services offered.
  • This module could impact search results by allowing Google to better understand the context and intent behind a user's search query. For example, if a user searches for "Italian restaurants near me," this module could help Google identify relevant results that not only match the location but also the specific cuisine preference. This could lead to more accurate and relevant search results, improving the overall user experience.
  • To be more favorable for this function, a website could ensure that its content is structured and marked up in a way that makes it easy for Google to understand the various attributes and constraints associated with a location. This could include using schema markup, providing clear and concise descriptions of amenities and services, and organizing content in a logical and hierarchical manner. Additionally, websites could focus on providing high-quality, relevant, and up-to-date content that accurately reflects the attributes and constraints of their location, making it easier for Google to understand and match user search queries.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

All the possible location constraints. This message is associated with a location and can be nested accordingly. E.g., for a compound location the constraint may be associated with the entire location or with either of the two internal locations (loc_1 and loc_2). There is an implicit AND relation between the different constraints. Next ID: 26.

Attributes

  • amenities (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalAmenities.t, default: nil) - LINT.IfChange
  • chainMember (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalChainMemberConstraint.t, default: nil) -
  • cuisine (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalCuisineConstraint.t, default: nil) -
  • evcsConnectorConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationConnectorConstraint.t, default: nil) - Used for populating ElectricVehicleConnectorRefinement from QBF go/evcs-qbf-connector
  • evcsPaymentConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationPaymentConstraint.t, default: nil) - Used for populating ElectricVehiclePaymentRefinement from QBF go/evcs-qbf-payment
  • evcsSpeedConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationSpeedConstraint.t, default: nil) -
  • gcidConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalGcidConstraint.t, default: nil) - Used for GCID filter. Unlike other grammar, for now this is populated in Superroot (currently based on QBLD classification, and an allowlist of GCID).
  • healthInsurance (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHealthInsuranceConstraint.t, default: nil) - Used for health insurance filter populator.
  • hyperReliableData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData.t, default: nil) - Some constraints are also hyper-reliable, such as [brunch] and [coffee].
  • menuItem (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalMenuItem.t, default: nil) -
  • new (type: boolean(), default: nil) -
  • numBytes (type: integer(), default: nil) -
  • open24Hours (type: boolean(), default: nil) -
  • price (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint.t, default: nil) -
  • quality (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint.t, default: nil) -
  • rooms (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalRoomConstraint.t, default: nil) -
  • scalableAttribute (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalScalableAttribute.t, default: nil) -
  • service (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalServiceConstraint.t, default: nil) -
  • startByte (type: integer(), default: nil) - The span, in the raw input, which corresponds to this constraint, expressed as a byte offset and byte size.
  • text (type: String.t, default: nil) -
  • ungroundedConstraint (type: boolean(), default: nil) - Experimental, may change.
  • unspecified (type: boolean(), default: nil) - Used to remove all constraints, e.g. [forget all the filters]
  • vaccineType (type: String.t, default: nil) - Used for vaccine refinement: go/covid-vaccine-refinement.
  • visitHistory (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalVisitHistoryConstraint.t, default: nil) -

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.NlpSemanticParsingLocalLocationConstraint{
    amenities:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalAmenities.t()
      | nil,
    chainMember:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalChainMemberConstraint.t()
      | nil,
    cuisine:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalCuisineConstraint.t()
      | nil,
    evcsConnectorConstraint:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationConnectorConstraint.t()
      | nil,
    evcsPaymentConstraint:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationPaymentConstraint.t()
      | nil,
    evcsSpeedConstraint:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalEvChargingStationSpeedConstraint.t()
      | nil,
    gcidConstraint:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalGcidConstraint.t()
      | nil,
    healthInsurance:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHealthInsuranceConstraint.t()
      | nil,
    hyperReliableData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalHyperReliableData.t()
      | nil,
    menuItem:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalMenuItem.t()
      | nil,
    new: boolean() | nil,
    numBytes: integer() | nil,
    open24Hours: boolean() | nil,
    price:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint.t()
      | nil,
    quality:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint.t()
      | nil,
    rooms:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalRoomConstraint.t()
      | nil,
    scalableAttribute:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalScalableAttribute.t()
      | nil,
    service:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalServiceConstraint.t()
      | nil,
    startByte: integer() | nil,
    text: String.t() | nil,
    ungroundedConstraint: boolean() | nil,
    unspecified: boolean() | nil,
    vaccineType: String.t() | nil,
    visitHistory:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalVisitHistoryConstraint.t()
      | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.