Skip to content

NLU node stops working after 200 calls #199

Description

@gxvigo

Hi There, we built a flow that fetches customer feedbacks (text) from a DB and pass to NLU for processing. The DB has about 4000 records, NLU seems to stop processing records after about 200. We can't see any message in the Debug tab, so we can't really understand what kind of limit we are hitting.
Is there a way to get the cause of the issue?
We are using NodeRed on IBM Cloud.

Activity

  1. hansb001 commented on Nov 6, 2017

    @hansb001
    Contributor

    I am not sure this is the issue, but NLU works with so-called NLU Items, you have 30.000 NLU Items per month in the lite Plan. If you look in the catalog on IBM Cloud, and see the description of the NLU service, you can see how these NLU items are calculated.

  2. gxvigo commented on Nov 6, 2017

    @gxvigo
    Author

    I saw that, thanks. It doesn't explain the behaviour though. If we hit the 30.000 NLU we shouldn't be able to make further calls the end of the period (1 month), while restarting the process we can get few hundreds more. That's why I'd like to see the response code from the NLU HTTP call, I believe it could give some insights about the problem we are facing.

  3. chughts commented on Nov 6, 2017

    @chughts
    Contributor

    That is odd, because if the call is good, then the data response, no matter what it is is put on msg.features. I.e. Even if it says 'you have run out of credit' then it will be on msg.features.

    if an error is returned from the service, it is reported in the status.

    If you are seeing either then the service is not responding.

  4. gxvigo commented on Nov 6, 2017

    @gxvigo
    Author

    I will add a test on that parameter.
    Where HTTP response codes (e.g 404, 401, 500, etc) are recorded?

  5. gxvigo commented on Nov 6, 2017

    @gxvigo
    Author

    Another thing I thought is about the number of API calls per period of time (seconds/minutes) that the NLU service can handle. I can't find any details in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions