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):
Attributes
-
boldedRanges
(type:list(GoogleApi.ContentWarehouse.V1.Model.QualitySnippetsTruncationSnippetBoldedRange)
, default:nil
)
- Bolded ranges in the printed snippet lines. -
extendedSnippet
(type:GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetCandidateInfoExtendedSnippet
, 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
, default:nil
)
- List information for this candidate, only populated for RADISH_LIST snippets. -
scoringInfo
(type:GoogleApi.ContentWarehouse.V1.Model.SnippetExtraInfoSnippetScoringInfo
, default:nil
)
- -
sentenceStarts
(type:list(GoogleApi.ContentWarehouse.V1.Model.QualitySnippetsTruncationSnippetBoldedRangePosition)
, default:nil
)
- Sentence starting positions in the printed snippet lines. -
snippet
(type:list(String.t)
, default:nil
)
- Muppet fills snippet lines insnippet
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
)
-
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
}
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