Dialogflow中训练短语中的问号

时间:2019-07-23 20:15:06

标签: dialogflow

在Dialogflow的训练短语中出现问题时,使用问号的最佳做法是什么-是否应该使用它们?

我的观察是,如果我添加带有问号的训练短语(例如“天气如何?”),那么有时没有问号的相同用户句子将不会被视为特定意图。另一方面,当我添加不带问号的训练短语时,无论使用什么问号,它们都会被正确识别。

示例1

Training phrase: "What is the weather?"
User question: "What is the weather?" (recognized)
User question: "What is the weather" (not recognized)

示例2

Training phrase: "What is the weather"
User question: "What is the weather?" (recognized)
User question: "What is the weather" (recognized)

0 个答案:

没有答案