AppsPeopleOzExternalMergedpeopleapiAffinity

AI Overview😉

  • Potential purpose of module in simple language: This module, called "Affinity", appears to be a ranking factor that measures the relevance or connection between a user and a piece of content (e.g., a website, a person, or an entity). It's like a score that indicates how well a user and a content item are "matched".
  • How it could impact search results: This module could impact search results by influencing the order in which websites or content items are displayed to a user. A higher affinity score could lead to a higher ranking in search results, making it more likely that a user will see and interact with the content. This could also affect personalized search results, where the algorithm tries to show users the most relevant content based on their past behavior and preferences.
  • How a website may change things to be more favorable for this function: To increase their affinity score, a website could focus on creating content that is more relevant and engaging to their target audience. This could involve using natural language processing to better understand user intent, creating personalized content recommendations, or using social media and other channels to build a stronger connection with users. Additionally, websites could optimize their metadata and structured data to provide more context to the algorithm, helping it to better understand the content and its relevance to users.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Similar to social.graph.storage.Affinity, but pared down to what the clients of the People API are interested in.

Attributes

  • affinityMetadata (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata.t, default: nil) - Contains extra ranking information returned by DAS.
  • affinityType (type: String.t, default: nil) -
  • containerId (type: String.t, default: nil) - The ID of the container
  • containerType (type: String.t, default: nil) - The type of container to which this affinity applies
  • loggingId (type: String.t, default: nil) - Used to log events for this affinity value, for disco diagnostic-purposes. See go/disco-diagnostics.
  • value (type: float(), default: nil) - Affinity value. Frequently represented as an inverse ranking, sometimes with additional data encoded. If data_formats.affinity_formats.score_format is set to RAW_SCORE then the value will be the score returned by DAS.

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.AppsPeopleOzExternalMergedpeopleapiAffinity{
    affinityMetadata:
      GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata.t()
      | nil,
    affinityType: String.t() | nil,
    containerId: String.t() | nil,
    containerType: String.t() | nil,
    loggingId: String.t() | nil,
    value: float() | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.