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

Google Action Intents getting multiplied for every language #180

Closed
1 of 4 tasks
rubenaeg opened this issue Feb 12, 2021 · 1 comment · Fixed by jovotech/jovo-model#33
Closed
1 of 4 tasks

Google Action Intents getting multiplied for every language #180

rubenaeg opened this issue Feb 12, 2021 · 1 comment · Fixed by jovotech/jovo-model#33
Assignees
Labels
Bug Dialogflow Issues/PRs regarding Dialogflow functionality.
Milestone

Comments

@rubenaeg
Copy link
Contributor

I'm submitting a...

  • Bug report
  • Feature request
  • Documentation issue or request
  • Other... Please describe:

Expected Behavior

jovo build should create one intent for each defined in the language model.

Current Behavior

jovo build creates duplicated intents, as the required uuid is not being generated.
See https://community.jovo.tech/t/google-action-intents-getting-multiplied-for-every-language/1074.

Error log

If you have an error log, please paste it here.

Your Environment

  • Jovo CLI version used: 1.x.x
  • Operating System:
@rubenaeg rubenaeg added Bug Dialogflow Issues/PRs regarding Dialogflow functionality. labels Feb 12, 2021
@rubenaeg rubenaeg added this to the v4 milestone Feb 12, 2021
@rubenaeg rubenaeg self-assigned this Feb 12, 2021
@painbank
Copy link

Actually, I am able to now reproduce the issue of Dialogflow importing the duplicate Intents. The issue is also due to the utterance objects in the json language files require a new json object calling out the language in them. IF the intent object doesn't contain the language object, then Dialogflow doesn't know where to put it, even though they should be using the file name, at some point Google made a change to use the JSON object instead of the filename.

here is the new object that needs included for each intent utterance:

"lang": "en-ca",

I have not yet tested where an utterance in one of the files is missing this object and the others have it. I've only tested where it is present or missing in all the objects. Here is a full example object, which would be in one of the usersays filenames:


  {
    "id": "fbe7f41d-1151-4897-a8c7-34d67945d0cc",
    "data": [
      {
        "text": "to test new abilities",
        "userDefined": false
      }
    ],
    "isTemplate": false,
    "count": 0,
    "lang": "en-ca",
    "updated": 0
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Dialogflow Issues/PRs regarding Dialogflow functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants