我开始将自己投入到 aog 中。我现在只使用 SDK 和 WebSimulator。我想要实现的是更改我之前设置的提示,例如因为我有新信息可用。我尝试了以下失败:
let inputPrompt = assistant.buildInputPrompt(true, '<speak>1+1=3 Agree?</speak>',['I didn\'t hear a number', 'If you\'re still there, what\'s the number?', 'What is the number?']);
assistant.ask(inputPrompt);
let inputPrompt2 = assistant.buildInputPrompt(true, '<speak>Sorry! 1+1=2 Agree?</speak>',['I didn\'t hear a number', 'If you\'re still there, what\'s the number?', 'What is the number?']);
assistant.ask(inputPrompt2);
仅显示第一个提示,然后(仅在用户响应后)显示第二个提示。
是否有可能改变提示服务器端?如何做呢?或者是否有解决方法?