Bot 在通过模拟器进行测试时未识别意图
Bot is not identifying intents while testing through emulator
我创建了一个使用 LUIS 的机器人。我在我的 LUIS 应用程序上定义了意图和话语,还在我的节点 js 代码中配置了 LUIS URL。
var recognizer = new builder.LuisRecognizer(process.env.LUIS_MODEL_URL);
bot.recognizer(recognizer);
当我使用模拟器进行测试时,它没有找到意图,并返回默认消息。
var bot = new builder.UniversalBot(connector, function (session) {
session.send('Sorry, I did not understand \'%s\'. Type \'help\' if you need assistance.', session.message.text);
}).set('storage', inMemoryStorage);
是的...我也找到了解决方案。我已经使用 global_tunnel 和身份验证配置了代理
var globalTunnel = require('global-tunnel');
process.env.https_proxy = 'http://:@:'; globalTunnel.intialize();
Post bot.recognizer(识别器), 我添加了 globalTunnel.end();
我创建了一个使用 LUIS 的机器人。我在我的 LUIS 应用程序上定义了意图和话语,还在我的节点 js 代码中配置了 LUIS URL。
var recognizer = new builder.LuisRecognizer(process.env.LUIS_MODEL_URL);
bot.recognizer(recognizer);
当我使用模拟器进行测试时,它没有找到意图,并返回默认消息。
var bot = new builder.UniversalBot(connector, function (session) {
session.send('Sorry, I did not understand \'%s\'. Type \'help\' if you need assistance.', session.message.text);
}).set('storage', inMemoryStorage);
是的...我也找到了解决方案。我已经使用 global_tunnel 和身份验证配置了代理 var globalTunnel = require('global-tunnel'); process.env.https_proxy = 'http://:@:'; globalTunnel.intialize(); Post bot.recognizer(识别器), 我添加了 globalTunnel.end();