如何在特定用户输入上使上下文寿命过期-api.ai [英] How to expire context lifespan on specific user input - api.ai

查看:85
本文介绍了如何在特定用户输入上使上下文寿命过期-api.ai的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用api.ai并卡在一个点上 我想使特定用户输入内容的生命周期过期

i'm working with api.ai and stuck on a point i want to expire lifespan of a context on a specific user input

如何使特定用户输入Api.ai上的上下文寿命过期

how to expire context lifespan on specific user input Api.ai

任何人都请告诉我解决方案,因为我无法在api.ai的文档中找到它

any one please tell me solution since i'm unable to find it in documentation of api.ai

推荐答案

您可以通过将输出上下文的生存期设置为0来重置"上下文,如下页所述:

You can "reset" the context by setting the output context's lifetime to 0 as described on this page: https://docs.api.ai/docs/concept-contexts

这篇关于如何在特定用户输入上使上下文寿命过期-api.ai的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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