SnippetExtraInfoSnippetCandidateInfo

GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

Next ID: 15

Attributes List

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

View Attributes

Attributes

  1. boldedRanges (type: list(GoogleApi.ContentWarehouse.V1.Model.QualitySnippetsTruncationSnippetBoldedRange), default: nil)
    - Bolded ranges in the printed snippet lines.
  2. extendedSnippet (type: GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfoExtendedSnippet, default: nil)
    -
  3. id (type: integer(), default: nil)
    - Candidate identifier number, unique among all snippet candidates under each document in each request. What does this number mean: - Muppet candidates: This equals to the candidate's rank by Muppet snippets scorer. - Superroot candidates: No specific meaning, this number should be larger than that of Muppet candidates. This field is used to: - Verify whether snippet brain chooses a different snippet from Muppet (the one chosen by Muppet is always in id 0). - Print debugging information and sort candidates in debug output.
  4. isMuppetSelectedSnippet (type: boolean(), default: nil)
    - If this snippet is chosen by Muppet.
  5. isSnippetBrainBoldingTriggered (type: boolean(), default: nil)
    - If SnippetsBrain bolding model triggered and a bolding span is generated.
  6. listInfo (type: GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsOrganicListSnippetResponse, default: nil)
    - List information for this candidate, only populated for RADISH_LIST snippets.
  7. scoringInfo (type: GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetScoringInfo, default: nil)
    -
  8. sentenceStarts (type: list(GoogleApi.ContentWarehouse.V1.Model.QualitySnippetsTruncationSnippetBoldedRangePosition), default: nil)
    - Sentence starting positions in the printed snippet lines.
  9. snippet (type: list(String.t), default: nil)
    - Muppet fills snippet lines in snippet field.
  10. snippetText (type: String.t, default: nil)
    - snippet_text will be filled by snippet brain flow in SR for model scoring and debugging purpose.
  11. snippetType (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfo{
boldedRanges: [ GoogleApi.ContentWarehouse.V1.Model.QualitySnippetsTruncationSnippetBoldedRange.t() ] | nil,
extendedSnippet: GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfoExtendedSnippet.t() | nil,
id: integer() | nil,
isMuppetSelectedSnippet: boolean() | nil,
isSnippetBrainBoldingTriggered: boolean() | nil,
listInfo: GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsOrganicListSnippetResponse.t() | nil,
scoringInfo: GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetScoringInfo.t() | nil,
sentenceStarts: [ GoogleApi.ContentWarehouse.V1.Model.QualitySnippetsTruncationSnippetBoldedRangePosition.t() ] | nil,
snippet: [String.t()] | nil,
snippetText: String.t() | nil,
snippetType: String.t() | nil
}

Function

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

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