识别Watson对话中的未定义实体 [英] Recognize undefined Entities in Watson Conversation

查看:103
本文介绍了识别Watson对话中的未定义实体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请,我想知道是否有可能在不定义其值的情况下在Watson对话中捕获不同的实体. 例如,我正在公司中使用移动设备进行房间预订,但是我无法定义所有房间的名称,因此我希望Bot仅根据所使用的模式来识别名称. 为明天预订@room" 以及我代替@room的所有内容都将其作为房间名称.

Please, I wanted to know if it is possible to catch different entities on Watson conversation without defining their values. For example, I am working on a Mobile up for room booking in my company and I can't define all the room's names so I want that my Bot recognize the name just according to the used pattern for example "Book @room for tomorrow" and whatever I put in place of @room it takes it as a room name.

谢谢

推荐答案

现在可用,请查看必须在字段中将模式作为正则表达式输入. 例如internationalPhone: ^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$, e.g., +44 1962 815000

A pattern must be entered as a regular expression in the field. For instance internationalPhone: ^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$, e.g., +44 1962 815000

这篇关于识别Watson对话中的未定义实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆