-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Specs
- Leon version: 1.0.0-beta.3
- OS (or browser) version: Firefox
- Node.js version: 10.16.0
- Complete "npm run check" output: Hooray! Leon can run correctly
- (if using Docker) Complete "npm run docker:check" output: nope
- (optional) Leon package version:
Expected Behavior
I've written this package but leon is able to recognize only the first expression set even if I ask him something different that should match other expression sets. So I tried to momentarly remove the first expression set and see what would happen. This is the result, but it's not very informative to me.
Actual Behavior
.: NER :.
➡ Searching for entities...
(node:69002) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'entities' of undefined
at Promise (/Users/federico/Dropbox/GitHub/leon/server/dist/core/ner.js:57:49)
at new Promise (<anonymous>)
at Ner.extractActionEntities (/Users/federico/Dropbox/GitHub/leon/server/dist/core/ner.js:37:12)
at Nlu.process (/Users/federico/Dropbox/GitHub/leon/server/dist/core/nlu.js:159:37)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:69002) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
How Do We Reproduce?
You might need the package...
Extra (like a sample repo to reproduce the issue, etc.)
Metadata
Metadata
Assignees
Labels
No labels