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

Provides some debug info for the entity. This data shown to engineers (for debugging) and to raters (so it ultimately impacts eval metrics), but is also used to train ML models (see below). IMPORTANT: Despite the proto naming, this data has production quality impact. The data below is mostly human-readable text that is useful to help engineers with debugging. However the text is also used as input to machine-learned natural language processing models, which are used in production Webref.

Attributes

  • description (type: String.t, default: nil) - A human-readable description of the entity. This can range from brief, machine-generated notes to lengthy human-written paragraphs from Wikipedia.
  • language (type: String.t, default: nil) - The language (III LanguageCode) of the title and description fields.
  • score (type: float(), default: nil) - Internal score to merge debug info. should not set in final entityjoins.
  • title (type: String.t, default: nil) - A short human-readable name/title of the entity, similar to what is displayed at the top of a Hume page. Suitable to be displayed in a list.
  • url (type: String.t, default: nil) - Link to a page with more information about the entity (internal Hume page, external Wikipedia page, etc.).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityDebugInfo{
  description: String.t() | nil,
  language: String.t() | nil,
  score: float() | nil,
  title: String.t() | nil,
  url: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.