QualityRankembedMustangMustangRankEmbedInfo

AI Overview😉

  • The potential purpose of this module is to process and store document embeddings, which are compact numerical representations of documents, in a compressed and efficient manner. This allows for fast and accurate comparisons between documents and queries.
  • This module could impact search results by influencing the ranking of documents based on their semantic similarity to the query. By using compressed document embeddings, the search algorithm can quickly identify relevant documents and rank them accordingly, leading to more accurate and relevant search results.
  • To be more favorable to this function, a website could focus on creating high-quality, informative, and concise content that is easily understandable by search engines. This could include using clear and descriptive titles, headings, and meta tags, as well as optimizing images and other multimedia content. Additionally, ensuring that the website's structure and architecture are organized and easy to crawl could also improve the search engine's ability to accurately embed and rank the website's documents.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Used as Mustang attachment DO NOT: - ACCESS THE PROTO FIELDS DIRECTLY - USE THE DECODING LIBRARY IN quality/rankembed/mustang/fixed_point_decoding_helpers.h INSTEAD. - USE HARDCODED MustangRankEmbedInfo TEXT PROTOS IN TESTS! USE quality/rankembed/test_utils/mustang_rankembed_info_utils.h INSTEAD.

Attributes

  • additionalFixedPointEncodings (type: list(String.t), default: nil) - Each of the repeated elements in this field has the same scheme as 'fixed_point_encoding'; See go/rankembed-astro-rule-set-dd
  • compressedDocumentEmbedding (type: GoogleApi.ContentWarehouse.V1.Model.QualityRankembedMustangMustangRankEmbedInfoCompressedEmbedding.t, default: nil) - Each uint64 encodes 8 8-bit values for the quantized document embedding
  • fixedPointEncoding (type: String.t, default: nil) - This field replaces the above 3 "per-encoding-type-fields", where the encoding type (and the embedding type) are part of the encoding, and is stored in the first byte. The remaining bytes are the same as the previous 3 fields, but shifted by 1 byte. - byte[0]: encoding type & embedding type - byte[1....]: similar to the above depending on the encoding type.
  • scaledFixedPoint4Encoding (type: String.t, default: nil) - - byte[0]: version - bytes[1...4]: scalar - bytes[5,...]: the values, one byte per 2 values
  • scaledFixedPoint8Encoding (type: String.t, default: nil) - - byte[0]: version - bytes[1...4]: scalar - bytes[5,...]: the values, one byte per value
  • scaledShiftedFixedPoint4Encoding (type: String.t, default: nil) - - byte[0]: version - bytes[1...4]: scalar - bytes[5...8]: shift - bytes[9,...]: the values, one byte per 2 values
  • versionAndImprovInfo (type: integer(), default: nil) - First 7 bits encode the version, then each chunk of 5 bits encode the index of a potential improv query (lsb to msb) -------|-----|-----|-----|-----|----- version| id1 | id2 | id3 | id4 | id5 where id1 is the index of the first improv query in the improv debug table. As of cl/270008220, this field only contains the version info. For backward compatibility, version still only uses the first 7 bits, and is still prepended by 5 1 bits.

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.QualityRankembedMustangMustangRankEmbedInfo{
    additionalFixedPointEncodings: [String.t()] | nil,
    compressedDocumentEmbedding:
      GoogleApi.ContentWarehouse.V1.Model.QualityRankembedMustangMustangRankEmbedInfoCompressedEmbedding.t()
      | nil,
    fixedPointEncoding: String.t() | nil,
    scaledFixedPoint4Encoding: String.t() | nil,
    scaledFixedPoint8Encoding: String.t() | nil,
    scaledShiftedFixedPoint4Encoding: String.t() | nil,
    versionAndImprovInfo: integer() | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.