ResearchScamNearestNeighbors

AI Overview😉

  • The potential purpose of this module is to identify and store information about similar documents or data points (nearest neighbors) for a given query or data point. This can help improve search results by providing more relevant and related content to the user.
  • This module could impact search results by influencing the ranking of documents based on their similarity to the user's query. Documents that are deemed similar by this module may be given a ranking boost, making them more visible to the user. This could lead to a more personalized and relevant search experience.
  • A website may change things to be more favorable for this function by ensuring that their content is well-structured, organized, and related to the topic at hand. This could include using clear and descriptive metadata, optimizing images and videos, and creating high-quality, relevant content that is easily crawlable by search engines. Additionally, websites may want to focus on creating a strong entity presence, using schema markup, and building a robust internal linking structure to help search engines understand their content and relationships between pages.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 1

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

All nearest neighbors for one data point. Last tag used: 5

Attributes

  • docid (type: String.t, default: nil) - Data point for which we computed nearest neighbors. This field is set based on the data_id_str field in the QueryRequest GFV (or SSTable key if data_id_str is not present), and thus can be arbitrary data, e.g. docid, URL, query string.
  • metadata (type: String.t, default: nil) - Metadata about the query. This field is populated if and only if: 1) ScaM is running in offline query-database or online mode and; 2) The metadata is directly fetched from the userinfo field inside GFV and; 3) MetadataConfig.userinfo.set_user_info_for_query is set to true. The field name is kept as "metadata" for consistency with neighbors.
  • neighbor (type: list(GoogleApi.ContentWarehouse.V1.Model.ResearchScamNearestNeighborsNeighbor.t), default: nil) - All its neighbors.
  • neighborSelectionOverride (type: GoogleApi.ContentWarehouse.V1.Model.ResearchScamNeighborSelectionOverride.t, default: nil) - Propagate neighbor selection override information during offline search.
  • query (type: GoogleApi.ContentWarehouse.V1.Model.ResearchScamGenericFeatureVector.t, default: nil) - The query vector for which we computed nearest neighbors.
  • retrievedVersion (type: String.t, default: nil) - The version ID of the server that responded to this query, if one was specified. This field is not populated for offline (i.e. Flume rather than RPC) search.

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.ResearchScamNearestNeighbors{
  docid: String.t() | nil,
  metadata: String.t() | nil,
  neighbor:
    [
      GoogleApi.ContentWarehouse.V1.Model.ResearchScamNearestNeighborsNeighbor.t()
    ]
    | nil,
  neighborSelectionOverride:
    GoogleApi.ContentWarehouse.V1.Model.ResearchScamNeighborSelectionOverride.t()
    | nil,
  query:
    GoogleApi.ContentWarehouse.V1.Model.ResearchScamGenericFeatureVector.t()
    | nil,
  retrievedVersion: 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.