英文:
Retrieve Lex Conclusion Statement during Intent Fulfillment
问题
我有一个用例,需要在Fulfillment Lambda函数中检索AWS Lex意图的结束语句。我们在结束语句中设置了一个模板消息,将此模板连同任何槽值提交给另一个用于履行的服务。
我正在尝试避免在每次履行过程中使用Lex的模型构建API来检索意图的结束语句,但目前我似乎没有其他选项。
是否有一些明显的事情我忽视了?
英文:
I have a use-case wherein I need to retrieve an AWS Lex intent's conclusion statement within the fulfillment Lambda function. We're setting a template message in the conclusion statement and this template along with any slot values are submitted to another service for fulfillment.
I'm trying to avoid having to use Lex's model building API to retrieve the intent's conclusion statement during each fulfilment, but at present I cannot see that I have another option.
Is there something obvious that I'm overlooking?
专注分享java语言的经验与见解,让所有开发者获益!
评论