If I run the following code snippet, will the session end?
return response .speak(speechText).getResponse();
I'm finding examples where I have to indicate .withShouldEndSession(true) if I want the session to end.
If I run the following code snippet, will the session end?
return response .speak(speechText).getResponse();
I'm finding examples where I have to indicate .withShouldEndSession(true) if I want the session to end.
return response.speak(speechText).withShouldEndSession(true).getResponse();
Check this link for more sample codes.