NlpSciencelitRetrievalSnippetDebugInfo

GoogleApi.ContentWarehouse.V1.Model.NlpSciencelitRetrievalSnippetDebugInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

Returned by Delver API in Snippet.debug_info.

Attributes List

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

View Attributes

Attributes

  1. 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.
  2. highlightIdxToOverlap (type: map(), default: nil)
    - Map of highlight index to best overlap with any gold snippet [0,1].
  3. highlightIdxToSentenceOverlap (type: map(), default: nil)
    - Map of highlight index to best overlap with any gold sentence [0,1].
  4. isGold (type: boolean(), default: nil)
    - Not set by server; only used by certain evals. Might only be set for the first gold snippet.
  5. offsetWithinSection (type: integer(), default: nil)
    - Byte index of text within the full section text (or within title).
  6. sectionIndex (type: integer(), default: nil)
    - Section within the document. -1 if title.
  7. sectionIrScore (type: number(), default: nil)
    - IR score of the section the snippet is coming from.
  8. 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
}

Function

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

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