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

NLU (native): intent doesn't get recognized #283

Closed
Primtek opened this issue May 31, 2018 · 19 comments
Closed

NLU (native): intent doesn't get recognized #283

Primtek opened this issue May 31, 2018 · 19 comments
Assignees

Comments

@Primtek
Copy link

Primtek commented May 31, 2018

Make sure these checkboxes are checked before raising an issue, thank you!

  • [] Check that you are using node version >= 6.10
  • [] Search the documentation

Please also fill in these fields:

what is the max of utterance per intents? ..
and is there any max number of event.nlu,intent.is('myintent1') per flow?
I am asking about this.. because I have a flow that control the intents, like below

{
  "version": "0.1",
  "catchAll": {},
  "startNode": "entry",
  "nodes": [
    {
      "id": "dc41431fb7",
      "name": "entry",
      "onEnter": [],
      "onReceive": null,
      "next": [
        {
          "condition": "event.nlu.intent.is('product')",
          "node": "infoproduk.flow.json"
        },
        {
          "condition": "event.nlu.intent.is('claim')",
          "node": "klaim.flow.json"
        },
        {
          "condition": "event.nlu.intent.is('claim-ext001')",
          "node": "klaim.flow.json"
        },
        {
          "condition": "event.nlu.intent.is('infoclaim')",
          "node": "infoklaim.flow.json"
        },
        {
          "condition": "event.nlu.intent.is('workshop')",
          "node": "infobengkel.flow.json"
        },
        {
          "condition": "event.nlu.intent.is('bye')",
          "node": "bye.flow.json"
        },
        {
          "condition": "true",
          "node": "unknown.flow.json"
        }
      ]
    }
  ]
}

Botpress version: <<VERSION HERE>>

10,11.2

Channels: <>

channel-web

@epaminond
Copy link

@Primtek , I don't think there are restrictions on number of utterances and number of intent-checks. Are you facing any issues with your flow?

@Primtek
Copy link
Author

Primtek commented May 31, 2018 via email

@epaminond
Copy link

I still don't get what's an issue.

@Primtek
Copy link
Author

Primtek commented May 31, 2018 via email

@epaminond epaminond changed the title intent and utterance NLU: intent doesn't get recognized May 31, 2018
@epaminond epaminond changed the title NLU: intent doesn't get recognized NLU (native): intent doesn't get recognized May 31, 2018
@epaminond
Copy link

I think this is not because of limits on utterances number, but because of issue in NLU-learning algorithm. @slvnperron , am I right?

@slvnperron
Copy link
Member

slvnperron commented May 31, 2018 via email

@Primtek
Copy link
Author

Primtek commented May 31, 2018 via email

@Primtek
Copy link
Author

Primtek commented Jun 1, 2018

I created a simple project that only have 3 flows:

  • gotit
  • main *
  • unknown

if user enter valid utterance then it will go to gotit otherwise it will go to unknown
try to enter invalid utterance (ie. asda;sdk;la;lkasd;laksd;asd) then it also will go to gotit

I run bp 10.11.2

with this new fresh project, you also find the warning:

warn: DEPRECATION NOTICE â bp.umm is deprecated and will be removed in botpress@3.0 â Please see #282

and with this project, I also unable to get welcometext message for webchat..
i believe this project already exactly the same with the sample project on dev-bot
I am stuck on this.. I did not find complete ref or doc for this..
you can find this project on https://github.com/Primtek/simple_but_fail

@epaminond
Copy link

Ok, thanks for sharing sources. I'll have a look.

@Primtek
Copy link
Author

Primtek commented Jun 1, 2018 via email

@Primtek
Copy link
Author

Primtek commented Jun 4, 2018 via email

@Primtek
Copy link
Author

Primtek commented Jun 4, 2018 via email

@Primtek Primtek closed this as completed Jun 4, 2018
@epaminond
Copy link

epaminond commented Jun 4, 2018

@Primtek , did you close the issue because it's no more the case?

I've checked some of the bots I was working on and some of the do have more 25 utterances and maybe more.

I don't think an issue is in number of utterances itself but in the machine-learning algorithm that fails to learn model based on some of the utterances you have if you put them into one group.

@Primtek
Copy link
Author

Primtek commented Jun 4, 2018

but what I don't understand is if I separate them into 2 intents then it works properly, any idea, what should I check? .. (native nlu)

@epaminond epaminond reopened this Jun 4, 2018
@epaminond
Copy link

My guess is that there are some utterances that "conflict" in AI-s logic when they are within same intent. But I'd rather wait for @slvnperron 's response.

@Primtek
Copy link
Author

Primtek commented Jun 4, 2018 via email

@Primtek Primtek closed this as completed Jun 7, 2018
@arbakag
Copy link

arbakag commented Jul 23, 2018

Hello?
Was the issue solved? I have same problem

@epaminond
Copy link

@arbakag , please report your ploblem as a separate issue and don't forget to provide us with botpress and @botpress/nlu versions.

@arbakag
Copy link

arbakag commented Jul 23, 2018

ok,thank you

@michaelmass michaelmass transferred this issue from botpress/botpress Jun 22, 2023
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

4 participants