View Source GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfo (google_api_content_warehouse v0.3.0)

Next ID: 15

Attributes

  • boldedRanges (type: list(GoogleApi.ContentWarehouse.V1.Model.QualitySnippetsTruncationSnippetBoldedRange.t), default: nil) - Bolded ranges in the printed snippet lines.
  • extendedSnippet (type: GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfoExtendedSnippet.t, default: nil) -
  • 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.
  • isMuppetSelectedSnippet (type: boolean(), default: nil) - If this snippet is chosen by Muppet.
  • isSnippetBrainBoldingTriggered (type: boolean(), default: nil) - If SnippetsBrain bolding model triggered and a bolding span is generated.
  • listInfo (type: GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsOrganicListSnippetResponse.t, default: nil) - List information for this candidate, only populated for RADISH_LIST snippets.
  • scoringInfo (type: GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetScoringInfo.t, default: nil) -
  • sentenceStarts (type: list(GoogleApi.ContentWarehouse.V1.Model.QualitySnippetsTruncationSnippetBoldedRangePosition.t), default: nil) - Sentence starting positions in the printed snippet lines.
  • snippet (type: list(String.t), default: nil) - Muppet fills snippet lines in snippet field.
  • snippetText (type: String.t, default: nil) - snippet_text will be filled by snippet brain flow in SR for model scoring and debugging purpose.
  • snippetType (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.