Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjusting Alan's listening phase #29

Open
ljudbane opened this issue Jan 17, 2022 · 1 comment
Open

Adjusting Alan's listening phase #29

ljudbane opened this issue Jan 17, 2022 · 1 comment
Assignees

Comments

@ljudbane
Copy link

Is it possible to increase the time that Alan listens for a longer input?

For example, we have an intent to capture a larger chunk of free text. The intent is defined like this:

intent(vSupportScreen, 'My message is $(TICKET* (.+))', async p => {
    p.play(`You've said: ${p.TICKET.value}`);
    ...
}

During testing we have observed that a lot of the time user will make a little pause in their talking, such as when ending one sentence and starting another. And in that pause Alan will stop listening and start processing the input. So we were wondering if it possible to increase the amount of time Alan listens, before it determines the end of input and starts processing.

@lailys
Copy link

lailys commented Jan 21, 2022

This is a common request and we are working on it for the next release.
For situations with a regular expression that takes as much input as possible and user input matches this pattern, timeout will be increased automatically.

@andreyryabov andreyryabov self-assigned this Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants