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

Intent not registered when using restricted characters as parameter names #301

Open
gdaniel opened this issue Jun 21, 2020 · 1 comment
Open
Assignees
Labels
Bug Something isn't working DialogFlow

Comments

@gdaniel
Copy link
Member

gdaniel commented Jun 21, 2020

This intent definition is not registered and there is no error logged by the DialogFlow connector.

intent SearchAnyValue {
	inputs {
		"VALUE"
		"Search for VALUE"
	}
	creates context "Value"  {
		sets parameter "^value" from fragment "VALUE" (entity any)
	}
}

Everything works fine if "^value" is replaced by "value". This is probably related to restricted characters in the DialogFlow API, but it should be logged as an error, because the deployed bot behavior will be corrupted.

@gdaniel gdaniel added Bug Something isn't working DialogFlow labels Jun 21, 2020
@gdaniel gdaniel self-assigned this Jun 21, 2020
@gdaniel gdaniel changed the title Intent not registered Intent not registered when using restricted characters as parameter names Oct 14, 2020
@jcabot
Copy link
Member

jcabot commented Feb 23, 2021

It seems that this one:

   val whereDoYouWork = intent("Where do you work?")
            .trainingSentence("Where do you work?")
            .trainingSentence("Where are you located?")
            .trainingSentence("Where is your office")
            .trainingSentence("Where can I visit you?");

is another example, as DF doesn't seem to like the question mark (or the spaces)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working DialogFlow
Projects
None yet
Development

No branches or pull requests

2 participants