GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentValue
Table of Contents ▼
Jump to a specific part of the page:
Description
A message representing the value of an argument. All types in the "value" oneof should have a corresponding field in the ValueType or OpaqueType protos defined in knowledge/answers/config/value.proto. This is specified by annotating each ArgumentValue type with options of the form (value_type_name) = A unit test ensure that this field is set and is valid for all types in ArgumentValue. A small number of special cases (such as funcall and simple_value) are allowed to omit the annotation. See intent_query_proto_test.cc for details. Note: If you are trying to add a new OpaqueType, stop; OpaqueType is deprecated, refer to go/opaque_type for details. If you think this is the only way to implement your feature, attend an office hours (go/meaning-help) and discuss with the MRF team. Next Id: 42
Attributes List
This module has the following attributes (case-insensitive ascending order):
View Attributes
- aogSlot
- appAnnotation
- audio
- calendarEvent
- calendarEventWrapper
- calendarReference
- complexQueriesRewrite
- componentReference
- coreference
- dateTime
- device
- deviceId
- deviceUserIdentity
- duration
- funcall
- homeAutomationDevice
- location
- media
- messageNotification
- money
- narrativeNewsProvider
- number
- onDevice
- person
- personalIntelligenceEntity
- productivityListItem
- recurrence
- reminder
- scalarValue
- sensitiveValue
- sensitivity
- shoppingMerchant
- shoppingOffer
- shoppingProduct
- shoppingProductExpression
- shoppingStore
- simpleValue
- timer
- timezone
Attributes
-
complexQueriesRewrite
(type:GoogleApi.ContentWarehouse.V1.Model.QualityGenieComplexQueriesComplexQueriesOutputRewrite
, default:nil
)
- Custom type used by Complex Queries. This is populated based on the output of the RPC to the Complex Queries Boq node. -
audio
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaAudio
, default:nil
)
- -
appAnnotation
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAppAnnotation
, default:nil
)
- Device actions custom types. -
calendarReference
(type:GoogleApi.ContentWarehouse.V1.Model.QualityQrewriteCalendarReference
, default:nil
)
- -
scalarValue
(type:GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryScalarValue
, default:nil
)
- A scalar value with optional unit; used ONLY for resolved values after grounding. -
componentReference
(type:GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefComponentReference
, default:nil
)
- Component reference between WebrefEntity and Mention. This should only ever be set in argument values in WebrefEntities (e.g. in a QueryJoin). The processing expectation is that the value including the component reference is discarded altogether and replaced by reference target. Use QueryJoinToMeaningStructConverter to perform the replacement. An example value parallel to this reference may exist, but it's meant purely for human consumption and should not be used. -
timer
(type:GoogleApi.ContentWarehouse.V1.Model.QualityActionsTimer
, default:nil
)
- Productivity custom types. Team: go/productivity-assistance. -
money
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMoneyMoney
, default:nil
)
- Represents: money expressions (e.g. 25$). Annotated by: number subgrammar. -
dateTime
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime
, default:nil
)
- Opaque types that are likely to become fully supported: Represents: date and time expressions. Annotated by: datetime subgrammar. -
productivityListItem
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantProductivityListItem
, default:nil
)
- -
funcall
(type:GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryFunctionCall
, default:nil
)
- Fully supported types An argument can also be a function call. -
deviceId
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId
, default:nil
)
- DeviceId custom types. Details in go/reply-broadcast -
recurrence
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsRecurrence
, default:nil
)
- Represents: intervals of recurrence for repeated tasks. See go/recurrence-subgrammar Annotated by: recurrence subgrammar. -
shoppingOffer
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantOffer
, default:nil
)
- Shopping custom types. See go/sopa-attentional. -
sensitiveValue
(type:GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySensitiveArgumentValueGuard
, default:nil
)
- Sensitive value, see go/sensitive-intents and go/a4w-multi-turn-dialog -
shoppingMerchant
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantMerchant
, default:nil
)
- -
deviceUserIdentity
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceUserIdentity
, default:nil
)
- DeviceUserIdentity custom types. Details in go/reply-broadcast -
location
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalLocation
, default:nil
)
- Represents: location expressions. Annotated by: location subgrammar. -
shoppingProduct
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProduct
, default:nil
)
- -
calendarEvent
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCalendarEvent
, default:nil
)
- Calendar custom types. Details in go/cal-ref. -
media
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMediaAnnotation
, default:nil
)
- -
homeAutomationDevice
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantVerticalsHomeautomationProtoHomeAutomationDevice
, default:nil
)
- HomeAutomation custom types. Details in go/smarthome_with_monastery. -
shoppingProductExpression
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductExpression
, default:nil
)
- -
simpleValue
(type:GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySimpleValue
, default:nil
)
- When literal is a datetime, it's really just an ISO 8601 datetime string. This case will eventually be replaced with the date_time field, which is more expressive and can also represent recurrences, ranges, etc. Likewise, simple_value will replace the other types of simple values that literal is currently being used to represent. -
sensitivity
(type:list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivitySensitivity)
, default:nil
)
- Argument level query sensitivities. 1) Statically defined Sensitivity is copied from IntentSlot at serving time so it can be propagated along with FunctionCall to places where the Intent Catalog is not available. See go/sensitive-intents for details. 2) For the same reason, contextual sensitivites (eg., from AttentionalEntity mentions) are populated here too. See go/tagging-sensitive-ae for details. -
duration
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDuration
, default:nil
)
- Represents: duration expressions (e.g. 5 minutes). Annotated by: datetime subgrammar. -
onDevice
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsOnDevice
, default:nil
)
- OnDevice custom types. Device on which an intent should be fulfilled. Differs semantically from device fields used by Media and HomeAutomation: this is annotated by the on_device subgrammar, and will not output any metadata beyond what the subgrammar outputs. See go/on_device_induction_quality. -
messageNotification
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotification
, default:nil
)
- Custom type used by tap-to-read for embedding a MessageNotification message in a GetMessageContent intent. -
coreference
(type:GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryCoreference
, default:nil
)
- A value that is a coreference or variable binding to some other part of the tree. See go/mrf-variables. -
narrativeNewsProvider
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsNarrativeNewsNewsProvider
, default:nil
)
- Custom type used by NarrativeNews. This is populated by the narrative news provider annotator, and it differs semantically from a mid for a news brand in that it doesn't refer to the field of widely known news brands but rather but to the specific audio news RSS feeds that the narrative news feature serves. (There is of course substantial overlap between those two concepts) -
reminder
(type:GoogleApi.ContentWarehouse.V1.Model.QualityActionsReminder
, default:nil
)
- -
device
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaCastDeviceAnnotation
, default:nil
)
- Media custom types. For example use, see go/valyrian-media-dd. -
calendarEventWrapper
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCalendarEventWrapper
, default:nil
)
- Details in go/multi-account-event-representation. -
number
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberNumber
, default:nil
)
- Represents: number expressions. Annotated by: number subgrammar. -
shoppingStore
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantStore
, default:nil
)
- -
aogSlot
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleAogSlot
, default:nil
)
- Custom type used by actions-on-google in-dialog queries. See go/3p-custom-intents-wrt-meaning-catalog -
personalIntelligenceEntity
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingPersonalIntelligenceEntity
, default:nil
)
- Entity parsed from manual grammar interpretation in the Personal Intelligence domain. -
person
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsPersonPerson
, default:nil
)
- Represents: structured person names, including common names and personal contacts. Annotated by: go/person-subgrammar. -
timezone
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeTimeZone
, default:nil
)
- Represents: timezone expressions (e.g. Eastern Daylight Time). Annotated by: datetime subgrammar.
Type
aogSlot: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingProtoActionsOnGoogleAogSlot.t() | nil,
appAnnotation: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAppAnnotation.t() | nil,
audio: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaAudio.t() | nil,
calendarEvent: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCalendarEvent.t() | nil,
calendarEventWrapper: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCalendarEventWrapper.t() | nil,
calendarReference: GoogleApi.ContentWarehouse.V1.Model.QualityQrewriteCalendarReference.t() | nil,
complexQueriesRewrite: GoogleApi.ContentWarehouse.V1.Model.QualityGenieComplexQueriesComplexQueriesOutputRewrite.t() | nil,
componentReference: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefComponentReference.t() | nil,
coreference: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryCoreference.t() | nil,
dateTime: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t() | nil,
device: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaCastDeviceAnnotation.t() | nil,
deviceId: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId.t() | nil,
deviceUserIdentity: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceUserIdentity.t() | nil,
duration: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDuration.t() | nil,
funcall: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryFunctionCall.t() | nil,
homeAutomationDevice: GoogleApi.ContentWarehouse.V1.Model.AssistantVerticalsHomeautomationProtoHomeAutomationDevice.t() | nil,
location: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalLocation.t() | nil,
media: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMediaAnnotation.t() | nil,
messageNotification: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesMessageNotification.t() | nil,
money: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMoneyMoney.t() | nil,
narrativeNewsProvider: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsNarrativeNewsNewsProvider.t() | nil,
number: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingNumberNumber.t() | nil,
onDevice: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsOnDevice.t() | nil,
person: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsPersonPerson.t() | nil,
personalIntelligenceEntity: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingPersonalIntelligenceEntity.t() | nil,
productivityListItem: GoogleApi.ContentWarehouse.V1.Model.AssistantProductivityListItem.t() | nil,
recurrence: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsRecurrence.t() | nil,
reminder: GoogleApi.ContentWarehouse.V1.Model.QualityActionsReminder.t() | nil,
scalarValue: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryScalarValue.t() | nil,
sensitiveValue: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySensitiveArgumentValueGuard.t() | nil,
sensitivity: [ GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivitySensitivity.t() ] | nil,
shoppingMerchant: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantMerchant.t() | nil,
shoppingOffer: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantOffer.t() | nil,
shoppingProduct: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProduct.t() | nil,
shoppingProductExpression: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantProductExpression.t() | nil,
shoppingStore: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsShoppingAssistantStore.t() | nil,
simpleValue: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQuerySimpleValue.t() | nil,
timer: GoogleApi.ContentWarehouse.V1.Model.QualityActionsTimer.t() | nil,
timezone: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeTimeZone.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryArgumentValue