GoogleApi.ContentWarehouse.V1.Model.NlpSciencelitRetrievalSnippetDebugInfo
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
Returned by Delver API in Snippet.debug_info.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
goldHighlightSentenceIndices
(type:list(integer())
, default:nil
)
- Which highlights have sentence overlap with gold snippets. Not ordered. Might only be set for the first gold highlight. -
highlightIdxToOverlap
(type:map()
, default:nil
)
- Map of highlight index to best overlap with any gold snippet [0,1]. -
highlightIdxToSentenceOverlap
(type:map()
, default:nil
)
- Map of highlight index to best overlap with any gold sentence [0,1]. -
isGold
(type:boolean()
, default:nil
)
- Not set by server; only used by certain evals. Might only be set for the first gold snippet. -
offsetWithinSection
(type:integer()
, default:nil
)
- Byte index of text within the full section text (or within title). -
sectionIndex
(type:integer()
, default:nil
)
- Section within the document. -1 if title. -
sectionIrScore
(type:number()
, default:nil
)
- IR score of the section the snippet is coming from. -
snippetBleuScore
(type:number()
, default:nil
)
- BLEU score for the entire snippet.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSciencelitRetrievalSnippetDebugInfo{
goldHighlightSentenceIndices: [integer()] | nil,
highlightIdxToOverlap: map() | nil,
highlightIdxToSentenceOverlap: map() | nil,
isGold: boolean() | nil,
offsetWithinSection: integer() | nil,
sectionIndex: integer() | nil,
sectionIrScore: number() | nil,
snippetBleuScore: number() | nil
}
goldHighlightSentenceIndices: [integer()] | nil,
highlightIdxToOverlap: map() | nil,
highlightIdxToSentenceOverlap: map() | nil,
isGold: boolean() | nil,
offsetWithinSection: integer() | nil,
sectionIndex: integer() | nil,
sectionIrScore: number() | nil,
snippetBleuScore: number() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSciencelitRetrievalSnippetDebugInfo