从Webhook向dialogflow发送权限请求时出现此错误:
MalformedResponse Expected_inputs [0] .possible_intents [0] .input_value_data:不允许在为家庭设计的应用中要求提供PII。
这是我的json响应:
{
"payload": {
"google": {
"expectUserResponse": true,
"systemIntent": {
"intent": "actions.intent.PERMISSION",
"data": {
"@type": "type.googleapis.com/google.actions.v2.PermissionValueSpec",
"optContext": "To deliver your order",
"permissions": [
"NAME",
"DEVICE_PRECISE_LOCATION"
]
}
}
}
}
}
and this is raw api response on dialogflow
{
"responseId": "0f9b3201-27f4-4994-9ecc-ee827f25b00e",
"queryResult": {
"queryText": "trouve ma position",
"action": "request_permission",
"parameters": {
"Conversation-entites": "position"
},
"allRequiredParamsPresent": true,
"fulfillmentMessages": [
{
"text": {
"text": [
""
]
}
}
],
"webhookPayload": {
"google": {
"expectUserResponse": true,
"systemIntent": {
"data": {
"optContext": "To deliver your order",
"@type": "type.googleapis.com/google.actions.v2.PermissionValueSpec",
"permissions": [
"NAME",
"DEVICE_PRECISE_LOCATION"
]
},
"intent": "actions.intent.PERMISSION"
}
}
},
"intent": {
"name": "projects/monappli-c5bf0/agent/intents/c4a07ba8-2258-4836-8e90-7b552584e8eb",
"displayName": "request_permission"
},
"intentDetectionConfidence": 1,
"diagnosticInfo": {
"webhook_latency_ms": 316
},
"languageCode": "fr"
},
"webhookStatus": {
"message": "Webhook execution successful"
}
}
我只是想获取诸如位置和名称之类的Google主页信息
catspeake
相关分类