axa-group / nlp.js

An NLP library for building bots, with entity extraction, sentiment analysis, automatic language identify, and so more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NLP.js not working on iOS 11 - Safari Mobile.

MarketingPip opened this issue · comments

Describe the bug
Can not get NLP.js to work on Safari Mobile iOS 11.

To Reproduce
Visit https://GitHub.com/MarketingPipeline/Conversations - you'll see a demo using the bundle build.

Expected behavior
Inputs can not be handled due to NLP.js (on mobile)

Screenshots
None needed.

Additional context

If possible too - some help creating / finding a build that handles the opts & use a NLP manager in browser would be great.

And if there is a pre existing NLP pipeline for building previous slots etc (would be useful).

Closing this issue - too be honest can't seem to figure out what the issue was with mobile. Nor do I have dev tools at the moment to debug this issue to help the project. 😞

Tho I am leaving this here for developers, team member's of Axa Group etc. The demo provided from NLP.js for web & react did not WORK. This demo from @MeetMartin ie; https://github.com/MeetMartin/nlpjs-web with seems to work fine.

ps; it would be great to see a demo how to extract slot filled utterances in the browser with a simple demo like

utterance: I want to ban {USER},
answer: I have banned {USER}
if (response.slots['USER']){
response.answer.replace(slot), username
}

I know there a lot's of demos / examples. But there seems to be HUGE confusion across versions on proper usage. It would be great to get a discussion on how this could be improved. As it seems tedious to have to do this with context data such as heros example etc...

Last but not least, thanks for this really cool project ❤️ - hope to see it expand much more!