私は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);
最初のプロンプトのみが表示され、次に (ユーザーが応答した後にのみ) 2 番目のプロンプトが表示されます。
プロンプトサーバー側を変更することはまったく可能ですか? どうすればそれができますか?または、回避策はありますか?