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

Attributes

  • confidenceScore (type: number(), default: nil) - Triple annotation confidence_score (value between 0 and 1). Higher values correspond to higher confidence.
  • isImplied (type: boolean(), default: nil) - The information in this triple is implied by other triple(s) in the document.
  • kgVerified (type: boolean(), default: nil) - Set to true if this triple is present in the webref model as either a link or property value. This implies that the information is in the Knowledge Graph. Note that it can happen that a triple is in KG but not present in the webref model.
  • mentions (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefTripleMention.t), default: nil) - Occurrences of the triple on the document
  • predMid (type: list(String.t), default: nil) - The mid of the predicate kg-property(-ies). In order, in the case of multihop links.
  • stuff (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Generic container to hold additional data such as signals, debug data etc. Data that can be stored in this field and their TypeIds: repository_webref::evaluation::ECMDebug (TypeId 192627933), defined in repository/webref/evaluation/triple_annotations/triple-diff.proto Debugging data to be used in WebIt's ECM report.
  • triple (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTriple.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefTripleAnnotation{
  confidenceScore: number() | nil,
  isImplied: boolean() | nil,
  kgVerified: boolean() | nil,
  mentions:
    [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefTripleMention.t()]
    | nil,
  predMid: [String.t()] | nil,
  stuff: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  triple: GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTriple.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.