Dialogflow CX – need to implement an "I need more time" functionality where the Agent waits for a longer period of time

huangapple go评论41阅读模式
英文:

Dialogflow CX - need to implement an "I need more time" functionality where the Agent waits for a longer period of time

问题

以下是翻译好的部分:

这是上下文:我们有一个流程,从用户那里收集信息,有时用户需要额外的时间来找到文件或类似的东西。

例如,代理人会问:“你的驾驶执照号码是多少?”,用户手头没有文件,然后他们可以说:“我需要更多时间”或“我马上回来”。当匹配到这个意图时,我们希望等待更长的时间(比如 - 一分钟,而不是默认的常规 sys.no-input 的 5 秒),以便给用户一个收集信息的机会。

有没有一种简单的方法来实现这个?

英文:

Here is the context: we have a flow where we gather information from the user, and sometimes the user needs additional time to find a document or something like that.

For example, the Agent asks "What is your driver's license number?", the user doesn't have the document handy, then they can say "I need more time" or "I'll be right back". When this intent is matched, we would like to wait longer (say - one minute instead of the default 5 seconds of a regular sys.no-input) to give the user an opportunity to gather the information.

Is there an easy way to accomplish this?

答案1

得分: 1

我通过利用sys.no-input-default和sys.no-match-default,并引入一个计数器来实现这一点。 no-match有助于忽略用户说无关的内容,或者背景噪音干扰对话。

英文:

OK, I managed to do this by leveraging the sys.no-input-default and sys.no-match-default and introducing a counter of how many times no-input was triggered. no-match helps ignore when the user says something unrelated, or some background noise interferes with the conversation.

huangapple
  • 本文由 发表于 2023年5月18日 04:18:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/76275917.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定