RepositoryWebrefWebrefEntity

GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntity


Table of Contents ▼

Jump to a specific part of the page:

Description

All information about a single entity available to WebRef. Next available tag: 7

Attributes List

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

View Attributes

Attributes

  1. annotatedRelationship (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntityRelationship), default: nil)
    - Information about links (e.g. implications) between the annotated entities.
  2. annotations (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityAnnotations, default: nil)
    - All annotations of this entity on the given document.
  3. collections (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntityCollections, default: nil)
    - Information about the collections of this entity.
  4. entityJoin (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityJoin, default: nil)
    - Metadata and raw signals used by the annotator. Intended for internal use. Steer clear of adding new dependencies on fields in this proto, especially external dependencies. If you are a Refx client and would like to consume entity metadata, consider querying TopicServer instead.
  5. id (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefEntityId, default: nil)
    - An identifier (usually a MID) for the entity. Consider using GetWebrefEntityMid() in the adjacent webref-entities-util.h to read this.
  6. mrf (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgument), default: nil)
    - MRF equivalent representations of this entity as a compound, one for each unique MRF representation. Populated for compounds. Each MRF expression contains a minimum FunctionCall structure wrapped in a nameless Argument without signals and range data. This is not meant to be directly usable as MRF, use QueryJoinToMeaningStructConverter to expand it into a usable form. References to entities are made as component_reference ArgumentValue. Each compound Mention of this entity (not all of its mentions need be compounds, some may be plain entity mentions) have one or more compound_value fields claiming these MRF expressions via their mrf_index. The compound_value has nested components, one for each unique component_reference.index in the MRF expression. The processing expectation is that each ArgumentValue which has a component_reference has its contents discarded and replaced with the MRF for the target entity and mention named by the compound_value.component. If the target is not a compound, the ArgumentValue becomes a simple mid value and the signals are taken from the entity and the mention. If the target is a compound itself, the expansion continues recursively. If the target is a compound with multiple MRFs, a cartesian product of recursive expansions may need to be produced. Along with the component_reference we also emit an example value, but this is purely for human consumption so it's easier to understand what the full compound is like. The processing expectation remains that the ArgumentValue containing a component_reference is completely discarded and rebuilt with the reference target value. If the target has more than one MRF expression, it's not specified which one will be used as an example, except that the choice is guaranteed to be deterministic from run to run.

Type

Function

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

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