GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryImpliedEntity
Table of Contents ▼
Jump to a specific part of the page:
Description
Signals for $QRefImpliedEntities that are merged into entity arguments during parsing.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
annotatedSpan
(type:String.t
, default:nil
)
- A copy of the span of canonical (raw) parser input text corresponding to this annotation. Copied from QRefAnnotation.annotated_span. -
evalData
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData
, default:nil
)
- This field is used inside Aqua for evaluation purposes. -
isUngroundedValue
(type:boolean()
, default:nil
)
- TODO (b/143536264): Create a new ImpliedTokens message and remove this. Whether the implied entity is ungrounded value, set to true when the entity doesn't have a KG mid. -
mid
(type:String.t
, default:nil
)
- The KG mid of the implied entity. -
qrefConfidenceScore
(type:number()
, default:nil
)
- The QRef confidence (in [0, 1]) of the entity being correctly annotated. -
shoppingIds
(type:GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryShoppingIds
, default:nil
)
- All ShoppingIds for this implied entity that need to be copied to IntentQuery (FunctionCall) if this implied entity is used in intent generation. See go/iql-shopping-ids for details.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryImpliedEntity{
annotatedSpan: String.t() | nil,
evalData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() | nil,
isUngroundedValue: boolean() | nil,
mid: String.t() | nil,
qrefConfidenceScore: number() | nil,
shoppingIds: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryShoppingIds.t() | nil
}
annotatedSpan: String.t() | nil,
evalData: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t() | nil,
isUngroundedValue: boolean() | nil,
mid: String.t() | nil,
qrefConfidenceScore: number() | nil,
shoppingIds: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryShoppingIds.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryImpliedEntity