Dialogflow es Google Nest Hub-滚动列表响应导致触发默认回退意图
在Google Nest Hub上: 如果在Dialogflow代理仍在讲话时尝试滚动长列表响应,则会触发默认的回退。如果我等待代理停止讲话,我就能够在列表上上下滚动,没有问题 对于使用Jovo Google Action framework的用户,此处报告了一个类似的错误: 为了重新创建错误,我在Google项目上使用列表响应的样板代码执行了一个新操作 事实上,这个错误再次出现了。在手机/平板电脑上测试时没有问题。这似乎是谷歌家庭中心所独有的 这里是我得到样板代码的地方: 下面是我用来重新创建错误的代码:Dialogflow es Google Nest Hub-滚动列表响应导致触发默认回退意图,dialogflow-es,actions-on-google,google-home,Dialogflow Es,Actions On Google,Google Home,在Google Nest Hub上: 如果在Dialogflow代理仍在讲话时尝试滚动长列表响应,则会触发默认的回退。如果我等待代理停止讲话,我就能够在列表上上下滚动,没有问题 对于使用Jovo Google Action framework的用户,此处报告了一个类似的错误: 为了重新创建错误,我在Google项目上使用列表响应的样板代码执行了一个新操作 事实上,这个错误再次出现了。在手机/平板电脑上测试时没有问题。这似乎是谷歌家庭中心所独有的 这里是我得到样板代码的地方: 下面是我用来重新创
'use strict';
const {
dialogflow,
List,
Image
} = require('actions-on-google');
const functions = require('firebase-functions');
const app = dialogflow({
debug: true
});
app.intent('List1', (conv) => {
if (!conv.screen) {
conv.ask('Sorry, try this on a screen device or select the ' +
'phone surface in the simulator.');
return;
}
conv.ask('This is a long conversational response. If you try to scroll/browse the list response while I\'m talking right now, it\'s going to trigger the default fallback. You have to wait until I\'m done talking to successfully scroll the list.');
// Create a list
conv.ask(new List({
title: 'List Title',
items: {
// Add the first item to the list
'1': {
synonyms: [],
title: '1',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Image alternate text',
}),
},
// Add the second item to the list
'2': {
synonyms: [],
title: '2',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Home',
}),
},
// Add the third item to the list
'3': {
synonyms: [],
title: '3',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'4': {
synonyms: [],
title: '4',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'5': {
synonyms: [],
title: '5',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'6': {
synonyms: [],
title: '6',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'7': {
synonyms: [],
title: '7',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'8': {
synonyms: [],
title: '8',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'9': {
synonyms: [],
title: '9',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'10': {
synonyms: [],
title: '10',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'11': {
synonyms: [],
title: '11',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'12': {
synonyms: [],
title: '12',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'13': {
synonyms: [],
title: 'Google Pixel',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'14': {
synonyms: [],
title: '14',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'15': {
synonyms: [],
title: '15',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'16': {
synonyms: [],
title: '16',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'17': {
synonyms: [],
title: '17',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'18': {
synonyms: [],
title: '18',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'19': {
synonyms: [],
title: '19',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'20': {
synonyms: [],
title: '20',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'21': {
synonyms: [],
title: '21',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'22': {
synonyms: [],
title: '22',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'23': {
synonyms: [],
title: '23',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'24': {
synonyms: [],
title: '24',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
'25': {
synonyms: [],
title: '25',
description: 'Pixel. Phone by Google.',
image: new Image({
url: 'https://storage.googleapis.com/actionsresources/logo_assistant_2x_64dp.png',
alt: 'Google Pixel',
}),
},
},
}));
});
app.intent('List - OPTION', (conv, params, option) => {
const SELECTED_ITEM_RESPONSES = {
'1': '1',
'2': '2',
'3': '3',
'4': '4',
'5': '5',
'6': '6',
'7': '7',
'8': '8',
'9': '9',
'10': '10',
'11': '11',
'12': '12',
'13': '13',
'14': '14',
'15': '15',
'16': '16',
'17': '17',
'18': '18',
'19': '19',
'20': '20',
'21': '21',
'22': '22',
'23': '23',
'24': '24',
'25': '25',
};
conv.ask(SELECTED_ITEM_RESPONSES[option]);
conv.ask('Which response would you like to see next?');
});
exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);
问题似乎与Google Nest Hub固件版本有关 我通过加入谷歌的“”解决了这个问题,它更新了我的Nest Hub固件 以前的固件版本:1.42.171872 当前固件:1.44.191160