GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationship
Table of Contents ▼
Jump to a specific part of the page:
Description
Description of a semantic Legos annotation. http://go/legos/project.md#semantic-intent-annotations
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
confidence
(type:number()
, default:nil
)
- Confidence score. Thresholding at the confidence score at 0.XX yields annotations of precision of at least XX%. Only filled in the intent definition Legos. Please use IsSemanticAnnotationAtConfidenceThreshold() from video/youtube/discovery/legos/annotations/public/legos_annotations_util.h to obtain only intent definition Legos. For more information on the migration please look at go/legos-intent-migration. -
contexts
(type:list(GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationshipContext)
, default:nil
)
- -
topicalityScore
(type:float()
, default:nil
)
- DEPRECATED. Please use confidence instead. Will be set to the same value as confidence in early January 2019. See go/legos-intent-migration for more information.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationship{
confidence: number() | nil,
contexts: [ GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationshipContext.t() ] | nil,
topicalityScore: float() | nil
}
confidence: number() | nil,
contexts: [ GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationshipContext.t() ] | nil,
topicalityScore: float() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationship