RepositoryWebrefPerDocRelevanceRatings

GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefPerDocRelevanceRatings


Table of Contents ▼

Jump to a specific part of the page:

Description

Aggregates ratings by url/doc_fp.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. docFp (type: String.t, default: nil)
    - - In topicality ratings this is Fingerprint2011() of the normalized cdoc. - In query-mention ratings this is a hash of the QueryJoin. - In doc-content-mention ratings this is a hash of a QueryJoin in which the mention rating task has been embedded. -
  2. entityNameRating (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityNameRatings), default: nil)
    -
  3. mentionRating (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefMentionRatings), default: nil)
    -
  4. taskLevelRating (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefPerDocRelevanceRating), default: nil)
    -
  5. url (type: String.t, default: nil)
    - - In topicality ratings this is the url of the document. - In query-mention ratings this is the query in format "en:US:query text". - In doc-content-mention ratings this is %x:%s where %x is the hex doc_fp of the cdoc (TODO(b/139799592) or sometimes the doc_fp below), and %s is the text of the eval range. - In entity-name ratings this is the MID of the entity.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefPerDocRelevanceRatings{
docFp: String.t() | nil,
entityNameRating: [ GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityNameRatings.t() ] | nil,
mentionRating: [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefMentionRatings.t()] | nil,
taskLevelRating: [ GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefPerDocRelevanceRating.t() ] | nil,
url: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefPerDocRelevanceRatings