View Source GoogleApi.ContentWarehouse.V1.Model.NlpSciencelitRetrievalSearchResultDebugInfo (google_api_content_warehouse v0.4.0)

Returned by Delver API in SearchResult.debug_info.

Attributes

  • articleData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSciencelitArticleData.t, default: nil) - Only set if RequestOptions.debug_return_article_data is true.
  • goldDocid (type: list(String.t), default: nil) -
  • goldSnippets (type: list(String.t), default: nil) -
  • isGold (type: boolean(), default: nil) - Not set by server; only used by evals.
  • rerankingScore (type: number(), default: nil) - See SearchResultInternal.reranking_score.
  • reverseRerankingOrder (type: integer(), default: nil) - See SearchResultInternal.reverse_reranking_order.
  • sectionIrScore (type: map(), default: nil) - See SearchResultInternal.section_ir_score.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSciencelitRetrievalSearchResultDebugInfo{
    articleData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSciencelitArticleData.t() | nil,
    goldDocid: [String.t()] | nil,
    goldSnippets: [String.t()] | nil,
    isGold: boolean() | nil,
    rerankingScore: number() | nil,
    reverseRerankingOrder: integer() | nil,
    sectionIrScore: map() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.