In Amazon LexV2, how do I disable barge-in (interruption event) for Fulfillment?

0

I have a LexV2 streaming voice bot that uses a Lambda function as a codehook for fulfillment of intents. Barge-in or interruption of the bot is enabled in the bot by default. For queries where Lex inquires slot values or for Closing responses from Lex, I am able to disable barge-in from the console but the disable barge option doesn't exist for the cases where the Lambda function fulfills the intent and responds.

Is there any way through the console or any API that allows me to disable barge-in for fulfillment?

1개 답변
0

Have you looked at the CreateIntent API (available in the SDKs too)? it has a allowInterrupt parameter which might be what you're looking for.

AWS
전문가
Raphael
답변함 2년 전
  • Thanks for your suggestion! The "allowInterrupt" options in the CreateIntent API are provided only for the static responses returned by lex that include Fulfillment updates, Success response, Failure response and Timeout response. I wanted to disable allowInterrupt during the actual fulfillment done by the lambda function

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠