- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
好吧,这很奇怪,这是我第二次得到这个,似乎有些不对劲。
尝试选择推送通知时出现的错误:MalformedResponse
expected_inputs[0].possible_intents[0].input_value_data: The intent the app is asking for permission to send updates for is not found..
当我第一次创建这个意图时,它起作用了,现在它不起作用了。
这是我行动的意图:
这是我的对话流中的意图:
当我的意图清楚地在对话流中并且在 AoG 中可用时,怎么可能找不到我的意图。
我的这些许可意图的代码:
app.intent('innercircle_notification_request', (conv) => {
console.log('innercircle_notification_request')
conv.ask(new UpdatePermission({
intent: 'inner_circle_notification'
}));
});
app.intent('innercircle_notification_request_finish', (conv) => {
if (conv.arguments.get('PERMISSION')) {
const userID = conv.arguments.get('UPDATES_USER_ID');
User.default.setUserId({
intent: 'inner_circle_notification',
id: userID,
gaToken: Settings.default.accessToken
});
conv.close(`Ok, you will now receive messages from your inner circle.`);
} else {
conv.close(`Ok, I won't notify you.`);
}
});
{
"user": {
"userId": "ABwppHFptFALNqLXxqWSOHQ9V9o9TOgeEkPNOU1akvPC2900EAFvalF7ANlRUiQHh1k1pvWmCo4UO0yDfQ",
"locale": "en-US",
"lastSeen": "2019-02-04T22:56:44Z"
},
"conversation": {
"conversationId": "ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ",
"type": "ACTIVE",
"conversationToken": "[]"
},
"inputs": [
{
"intent": "actions.intent.TEXT",
"rawInputs": [
{
"inputType": "TOUCH",
"query": "Send Updates"
}
],
"arguments": [
{
"name": "text",
"rawText": "Send Updates",
"textValue": "Send Updates"
}
]
}
],
"surface": {
"capabilities": [
{
"name": "actions.capability.SCREEN_OUTPUT"
},
{
"name": "actions.capability.MEDIA_RESPONSE_AUDIO"
},
{
"name": "actions.capability.WEB_BROWSER"
},
{
"name": "actions.capability.AUDIO_OUTPUT"
}
]
},
"isInSandbox": true,
"availableSurfaces": [
{
"capabilities": [
{
"name": "actions.capability.SCREEN_OUTPUT"
},
{
"name": "actions.capability.WEB_BROWSER"
},
{
"name": "actions.capability.AUDIO_OUTPUT"
}
]
}
],
"requestType": "SIMULATOR"
}
{
"conversationToken": "[\"requestinnercirclenotifications\"]",
"expectUserResponse": true,
"expectedInputs": [
{
"inputPrompt": {},
"possibleIntents": [
{
"intent": "actions.intent.PERMISSION",
"inputValueData": {
"@type": "type.googleapis.com/google.actions.v2.PermissionValueSpec",
"permissions": [
"UPDATE"
],
"updatePermissionValueSpec": {
"intent": "inner_circle_notification"
}
}
}
],
"speechBiasingHints": [
"$fish",
"$lunar-event",
"$log-type",
"$lure",
"$username",
"$weather",
"$lure-color"
]
}
],
"responseMetadata": {
"status": {
"message": "Success (200)"
},
"queryMatchInfo": {
"queryMatched": true,
"intent": "a89ed259-dc99-4ded-9567-5bf85b1a93ee"
},
"delegatedRequest": {
"delegatedRequest": "{\n \"responseId\": \"5a1f3c7a-96cd-4ea2-91b0-04b232e916a0\",\n \"queryResult\": {\n \"queryText\": \"Send Updates\",\n \"action\": \"innercircle_notification_request\",\n \"parameters\": {\n },\n \"allRequiredParamsPresent\": true,\n \"fulfillmentMessages\": [{\n \"text\": {\n \"text\": [\"\"]\n }\n }],\n \"outputContexts\": [{\n \"name\": \"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/google_assistant_input_type_touch\"\n }, {\n \"name\": \"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/actions_capability_screen_output\"\n }, {\n \"name\": \"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/requestinnercirclenotifications\",\n \"lifespanCount\": 5\n }, {\n \"name\": \"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/actions_capability_audio_output\"\n }, {\n \"name\": \"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/actions_capability_web_browser\"\n }, {\n \"name\": \"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/actions_capability_media_response_audio\"\n }],\n \"intent\": {\n \"name\": \"projects/lakelabsvoice/agent/intents/a89ed259-dc99-4ded-9567-5bf85b1a93ee\",\n \"displayName\": \"innercircle_notification_request\"\n },\n \"intentDetectionConfidence\": 1.0,\n \"languageCode\": \"en-us\"\n },\n \"originalDetectIntentRequest\": {\n \"source\": \"google\",\n \"version\": \"2\",\n \"payload\": {\n \"isInSandbox\": true,\n \"surface\": {\n \"capabilities\": [{\n \"name\": \"actions.capability.SCREEN_OUTPUT\"\n }, {\n \"name\": \"actions.capability.MEDIA_RESPONSE_AUDIO\"\n }, {\n \"name\": \"actions.capability.WEB_BROWSER\"\n }, {\n \"name\": \"actions.capability.AUDIO_OUTPUT\"\n }]\n },\n \"requestType\": \"SIMULATOR\",\n \"inputs\": [{\n \"rawInputs\": [{\n \"query\": \"Send Updates\",\n \"inputType\": \"TOUCH\"\n }],\n \"arguments\": [{\n \"rawText\": \"Send Updates\",\n \"textValue\": \"Send Updates\",\n \"name\": \"text\"\n }],\n \"intent\": \"actions.intent.TEXT\"\n }],\n \"user\": {\n \"lastSeen\": \"2019-02-04T22:56:44Z\",\n \"locale\": \"en-US\",\n \"userId\": \"ABwppHFptFALNqLXxqWSOHQ9V9o9TOgeEkPNOU1akvPC2900EAFvalF7ANlRUiQHh1k1pvWmCo4UO0yDfQ\"\n },\n \"conversation\": {\n \"conversationId\": \"ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ\",\n \"type\": \"ACTIVE\",\n \"conversationToken\": \"[]\"\n },\n \"availableSurfaces\": [{\n \"capabilities\": [{\n \"name\": \"actions.capability.SCREEN_OUTPUT\"\n }, {\n \"name\": \"actions.capability.WEB_BROWSER\"\n }, {\n \"name\": \"actions.capability.AUDIO_OUTPUT\"\n }]\n }]\n }\n },\n \"session\": \"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ\"\n}"
},
"delegatedResponse": {
"delegatedResponse": "{\"payload\":{\"google\":{\"expectUserResponse\":true,\"systemIntent\":{\"intent\":\"actions.intent.PERMISSION\",\"data\":{\"@type\":\"type.googleapis.com/google.actions.v2.PermissionValueSpec\",\"permissions\":[\"UPDATE\"],\"updatePermissionValueSpec\":{\"intent\":\"inner_circle_notification\"}}}}}}"
}
}
}
{
"response": "Lake Labs isn't responding right now. Try again soon.",
"expectUserResponse": false,
"conversationToken": "Eo8CS2s1Tk...",
"audioResponse": "//NExAASWK...",
"debugInfo": {
"assistantToAgentDebug": {
"curlCommand": "curl -v 'https://api.api.ai/api/integrations/google?token=903697cd96b346e5b626c4d25a9f55fa' -H 'Content-Type: application/json;charset=UTF-8' -H 'Google-Actions-API-Version: 2' -H 'Authorization: eyJhbGciOiJSUzI1NiIsImtpZCI6IjZmYjA1Zjc0MjM2NmVlNGNmNGJjZjQ5Zjk4NGM0ODdlNDVjOGM4M2QiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhdWQiOiJsYWtlbGFic3ZvaWNlIiwibmJmIjoxNTQ5MzMyNDU3LCJpYXQiOjE1NDkzMzI3NTcsImV4cCI6MTU0OTMzMjg3NywianRpIjoiOTFmMTliNjE5MGI1ZTc4NTU4NjkzNGQzZDYxNzVlMzQ2YzVlNTEwMCJ9.TmL0YGyPCrFJrnMEvGLZHiyj6dtz4m2iyJ_b1MpBj4N1kMtCW_sOzNYJ4KZAS_Sde7Y_-NfjpKFvZ9VCrnzuYU3WvZFBZ1ZUceOBEvMJ3geL8pSeLqtTOyI8C9DET55IU6aeaxyKswaa9mfOSf4wjWKLqi5TX8Nle1wCcb1jZc0H2JrHB2VMVr0Vw9gg_d_UyQXTdapMqbRLG-Weud6AZgPbH0dzgjxHJMOklG9bUdUfrqtPIWwCd3i4NTGOuIkzb2VB5Skr7NaEW5Q4IzrTeyMfhvBLElcO_AZx3-OFG_EW85Bbaw-5K5xJfAZAzGBxlJM5MPG1KLEJvHFytOfzkA' -A 'Mozilla/5.0 (compatible; Google-Cloud-Functions/2.1; +http://www.google.com/bot.html)' -X POST -d '{\"user\":{\"userId\":\"ABwppHFptFALNqLXxqWSOHQ9V9o9TOgeEkPNOU1akvPC2900EAFvalF7ANlRUiQHh1k1pvWmCo4UO0yDfQ\",\"locale\":\"en-US\",\"lastSeen\":\"2019-02-04T22:56:44Z\"},\"conversation\":{\"conversationId\":\"ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ\",\"type\":\"ACTIVE\",\"conversationToken\":\"[]\"},\"inputs\":[{\"intent\":\"actions.intent.TEXT\",\"rawInputs\":[{\"inputType\":\"TOUCH\",\"query\":\"Send Updates\"}],\"arguments\":[{\"name\":\"text\",\"rawText\":\"Send Updates\",\"textValue\":\"Send Updates\"}]}],\"surface\":{\"capabilities\":[{\"name\":\"actions.capability.SCREEN_OUTPUT\"},{\"name\":\"actions.capability.MEDIA_RESPONSE_AUDIO\"},{\"name\":\"actions.capability.WEB_BROWSER\"},{\"name\":\"actions.capability.AUDIO_OUTPUT\"}]},\"isInSandbox\":true,\"availableSurfaces\":[{\"capabilities\":[{\"name\":\"actions.capability.SCREEN_OUTPUT\"},{\"name\":\"actions.capability.WEB_BROWSER\"},{\"name\":\"actions.capability.AUDIO_OUTPUT\"}]}],\"requestType\":\"SIMULATOR\"}'",
"assistantToAgentJson": "{\"user\":{\"userId\":\"ABwppHFptFALNqLXxqWSOHQ9V9o9TOgeEkPNOU1akvPC2900EAFvalF7ANlRUiQHh1k1pvWmCo4UO0yDfQ\",\"locale\":\"en-US\",\"lastSeen\":\"2019-02-04T22:56:44Z\"},\"conversation\":{\"conversationId\":\"ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ\",\"type\":\"ACTIVE\",\"conversationToken\":\"[]\"},\"inputs\":[{\"intent\":\"actions.intent.TEXT\",\"rawInputs\":[{\"inputType\":\"TOUCH\",\"query\":\"Send Updates\"}],\"arguments\":[{\"name\":\"text\",\"rawText\":\"Send Updates\",\"textValue\":\"Send Updates\"}]}],\"surface\":{\"capabilities\":[{\"name\":\"actions.capability.SCREEN_OUTPUT\"},{\"name\":\"actions.capability.MEDIA_RESPONSE_AUDIO\"},{\"name\":\"actions.capability.WEB_BROWSER\"},{\"name\":\"actions.capability.AUDIO_OUTPUT\"}]},\"isInSandbox\":true,\"availableSurfaces\":[{\"capabilities\":[{\"name\":\"actions.capability.SCREEN_OUTPUT\"},{\"name\":\"actions.capability.WEB_BROWSER\"},{\"name\":\"actions.capability.AUDIO_OUTPUT\"}]}],\"requestType\":\"SIMULATOR\"}",
"delegatedRequest": {
"delegatedRequest": ""
}
},
"agentToAssistantDebug": {
"agentToAssistantJson": "{\"conversationToken\":\"[\\\"requestinnercirclenotifications\\\"]\",\"expectUserResponse\":true,\"expectedInputs\":[{\"inputPrompt\":{},\"possibleIntents\":[{\"intent\":\"actions.intent.PERMISSION\",\"inputValueData\":{\"@type\":\"type.googleapis.com/google.actions.v2.PermissionValueSpec\",\"permissions\":[\"UPDATE\"],\"updatePermissionValueSpec\":{\"intent\":\"inner_circle_notification\"}}}],\"speechBiasingHints\":[\"$fish\",\"$lunar-event\",\"$log-type\",\"$lure\",\"$username\",\"$weather\",\"$lure-color\"]}],\"responseMetadata\":{\"status\":{\"message\":\"Success (200)\"},\"queryMatchInfo\":{\"queryMatched\":true,\"intent\":\"a89ed259-dc99-4ded-9567-5bf85b1a93ee\"},\"delegatedRequest\":{\"delegatedRequest\":\"{\\n \\\"responseId\\\": \\\"5a1f3c7a-96cd-4ea2-91b0-04b232e916a0\\\",\\n \\\"queryResult\\\": {\\n \\\"queryText\\\": \\\"Send Updates\\\",\\n \\\"action\\\": \\\"innercircle_notification_request\\\",\\n \\\"parameters\\\": {\\n },\\n \\\"allRequiredParamsPresent\\\": true,\\n \\\"fulfillmentMessages\\\": [{\\n \\\"text\\\": {\\n \\\"text\\\": [\\\"\\\"]\\n }\\n }],\\n \\\"outputContexts\\\": [{\\n \\\"name\\\": \\\"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/google_assistant_input_type_touch\\\"\\n }, {\\n \\\"name\\\": \\\"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/actions_capability_screen_output\\\"\\n }, {\\n \\\"name\\\": \\\"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/requestinnercirclenotifications\\\",\\n \\\"lifespanCount\\\": 5\\n }, {\\n \\\"name\\\": \\\"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/actions_capability_audio_output\\\"\\n }, {\\n \\\"name\\\": \\\"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/actions_capability_web_browser\\\"\\n }, {\\n \\\"name\\\": \\\"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ/contexts/actions_capability_media_response_audio\\\"\\n }],\\n \\\"intent\\\": {\\n \\\"name\\\": \\\"projects/lakelabsvoice/agent/intents/a89ed259-dc99-4ded-9567-5bf85b1a93ee\\\",\\n \\\"displayName\\\": \\\"innercircle_notification_request\\\"\\n },\\n \\\"intentDetectionConfidence\\\": 1.0,\\n \\\"languageCode\\\": \\\"en-us\\\"\\n },\\n \\\"originalDetectIntentRequest\\\": {\\n \\\"source\\\": \\\"google\\\",\\n \\\"version\\\": \\\"2\\\",\\n \\\"payload\\\": {\\n \\\"isInSandbox\\\": true,\\n \\\"surface\\\": {\\n \\\"capabilities\\\": [{\\n \\\"name\\\": \\\"actions.capability.SCREEN_OUTPUT\\\"\\n }, {\\n \\\"name\\\": \\\"actions.capability.MEDIA_RESPONSE_AUDIO\\\"\\n }, {\\n \\\"name\\\": \\\"actions.capability.WEB_BROWSER\\\"\\n }, {\\n \\\"name\\\": \\\"actions.capability.AUDIO_OUTPUT\\\"\\n }]\\n },\\n \\\"requestType\\\": \\\"SIMULATOR\\\",\\n \\\"inputs\\\": [{\\n \\\"rawInputs\\\": [{\\n \\\"query\\\": \\\"Send Updates\\\",\\n \\\"inputType\\\": \\\"TOUCH\\\"\\n }],\\n \\\"arguments\\\": [{\\n \\\"rawText\\\": \\\"Send Updates\\\",\\n \\\"textValue\\\": \\\"Send Updates\\\",\\n \\\"name\\\": \\\"text\\\"\\n }],\\n \\\"intent\\\": \\\"actions.intent.TEXT\\\"\\n }],\\n \\\"user\\\": {\\n \\\"lastSeen\\\": \\\"2019-02-04T22:56:44Z\\\",\\n \\\"locale\\\": \\\"en-US\\\",\\n \\\"userId\\\": \\\"ABwppHFptFALNqLXxqWSOHQ9V9o9TOgeEkPNOU1akvPC2900EAFvalF7ANlRUiQHh1k1pvWmCo4UO0yDfQ\\\"\\n },\\n \\\"conversation\\\": {\\n \\\"conversationId\\\": \\\"ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ\\\",\\n \\\"type\\\": \\\"ACTIVE\\\",\\n \\\"conversationToken\\\": \\\"[]\\\"\\n },\\n \\\"availableSurfaces\\\": [{\\n \\\"capabilities\\\": [{\\n \\\"name\\\": \\\"actions.capability.SCREEN_OUTPUT\\\"\\n }, {\\n \\\"name\\\": \\\"actions.capability.WEB_BROWSER\\\"\\n }, {\\n \\\"name\\\": \\\"actions.capability.AUDIO_OUTPUT\\\"\\n }]\\n }]\\n }\\n },\\n \\\"session\\\": \\\"projects/lakelabsvoice/agent/sessions/ABwppHFkNV1WPWYYfituxrV-Lm5zUFYQXmqmzC9-iO5MdbIMl6xVkuBa1fpQa23BX9yMrsU_hvWH8rn6YQ\\\"\\n}\"},\"delegatedResponse\":{\"delegatedResponse\":\"{\\\"payload\\\":{\\\"google\\\":{\\\"expectUserResponse\\\":true,\\\"systemIntent\\\":{\\\"intent\\\":\\\"actions.intent.PERMISSION\\\",\\\"data\\\":{\\\"@type\\\":\\\"type.googleapis.com/google.actions.v2.PermissionValueSpec\\\",\\\"permissions\\\":[\\\"UPDATE\\\"],\\\"updatePermissionValueSpec\\\":{\\\"intent\\\":\\\"inner_circle_notification\\\"}}}}}}\"}}}",
"delegatedResponse": {
"delegatedResponse": ""
}
},
"sharedDebugInfoList": [
{
"name": "ResponseValidation",
"debugInfo": "",
"subDebugEntryList": [
{
"name": "MalformedResponse",
"debugInfo": "expected_inputs[0].possible_intents[0].input_value_data: The intent the app is asking for permission to send updates for is not found..",
"subDebugEntryList": []
}
]
}
]
},
"visualResponse": {
"visualElementsList": [
{
"displayText": {
"content": "Lake Labs isn't responding right now. Try again soon."
}
}
],
"suggestionsList": [],
"agentLogoUrl": ""
},
"clientError": 0,
"is3pResponse": 1,
"clientOperationList": [],
"projectName": ""
}
最佳答案
我有一个草稿版本和一个 alpha 版本的操作 - 当前的草稿工作正常,但我保存的 alpha 版本给出了相同的 expected_inputs[0].possible_intents[0].input_value_data: The intent the app is asking for permission to send updates for is not found..
你遇到的。
您是否打开了 Dialogflow 集成部分中的“自动预览更改”切换? Dialogflow > 集成 > Google Assistant > 向下滚动:
Auto-preview changes toggle
这样做之后(如果您还没有这样做),如果您尝试以下操作,您仍然会收到错误吗?
functions
, 然后尝试#1 关于javascript - Actions on Google - 未找到应用请求许可的意图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54525612/
作为后续问题:Laravel Redirect::intended() conditional fallbacks 我遇到了一个问题,在设置了预期的 URL session 后,即使用户决定不登录而是
我面临一个问题,即与任何意图不匹配的单词,它会假设它属于标记最多的话语的意图。 示例:如果 意图 A 由动物等话语组成 意图 B 包含“水果”等话语 意图 C 由诸如昆虫之类的话语组成 意图 D 由诸
拥有什么实际区别 subroutine fillName(person) type(PersonType), intent(inout) :: person person%name = "
我想知道 Dialogflow 中是否有任何商定的意图、事件和上下文的命名约定。 如果没有,那么如果您分享您自己的命名约定,我将不胜感激! 最佳答案 我发现“只要别人容易理解就行”这句话有点矛盾。如果
我正在尝试了解使用队列的用例。 我的理解:队列意味着一对一。唯一的用例(如果不是罕见的话,很少)是:消息仅供一次使用。 但即使在这些情况下,我也可能想使用主题(只是为了将来安全)。唯一需要额外注意的是
我的 Xcode 是 v10,我正在为 SiriKit 开发一个针对 iOS 12 的自定义 intent。 在 Xcode 10 中,自定义意图是在 .intentdefinition 文件中设计的
我有一个设置了 .intentdefinition 文件的 WidgetKit ,我可以在运行我的 WidgetKit 时从我的枚举中进行选择,但我不确定如何在代码中使用这些信息。 我希望能够根据用户
我需要为意图过滤器注册(在运行时)自定义 BroadcastReceiver 可以在 list 中描述为 并在用户通过按应用程序中的某个按钮退出应用程序时取消注册接收
根据 Fortran 标准: The INTENT (OUT) attribute for a nonpointer dummy argument specifies that the dummy a
我正在使用 Twitter Web Intents 来检查是否有人关注我。现在的问题是;我只在事件对象中获取我自己的屏幕名作为回调。 twttr.events.bind('follow', funct
编辑 很抱歉大家,这只是由于意图名称后面缺少逗号。非常抱歉x: 我最近使用 Microsoft Bot Framework (botbuilder v3.14.0)、Node.js (v8.9.4)
我正在开发的产品: RequeSTLy - Chrome 和 Firefox 扩展设置重定向、修改 header 、切换主机、插入用户脚本 ( https://www.requestly.in/ )
有什么方法可以有目的地合并对话框,这样我就不需要多余的代码片段? bot.dialog('whats-your-name', require('./dialogs/whats-your-name')
我是 Dialogflow 的新手,虽然它很容易理解,但我无法使用自定义事件触发 Intent。 我必须实现的任务是,当在后端 Node.js Webhook 中检测到警报时(例如:老板想要做某事),
在 Microsoft Bot Framework 中,我已经开始对话并运行一些意图,假设“登录”,但是当我向用户询问用户名或密码时,他可能会说“取消该”或“取消登录”,我如何获得此意图:“取消”以及
我使用 LUIS 框架构建了一个运行良好的机器人。在研究过程中遇到了以下几点 与 LUIS 意图连接后;机器人无法检查正则表达式意图喜欢 对于我正在尝试设置的对话框.matches('^helpdes
我想知道 URL 是发布到 facebook 的链接。在 Twitter 上,我可以使用“http://twitter.com/intent/tweet?text=”来发推文。虽然我试图寻找一个,但我
通读,http://www.w3schools.com/angular/angular_directives.asp我遇到了一个在评论中调用指令的例子,具体来说: 您可以在 http://www.w
我在 Stack Overflow 上的许多帖子中读到,可分配数组在传递到虚拟参数为 intent(out) 的子例程中时会被释放。 如果我考虑以下代码: program main real, di
API.ai 的预构建包可让您轻松获得长长的意图列表。目前,我正在尝试利用他们的 smalltalk 包,该包有大约 100 个意图,并对每个意图做出响应。 我正在使用api-ai-recognize
我是一名优秀的程序员,十分优秀!