Closed davidwallis closed 3 years ago
also:
Anyone?
I use a switch node, then a function to set a variable in msg.payload.smething = "My Option"
This isnt closed - I'm still at a loss with this - I want to dynamically extract the houseObject - I dont want to use a switch node - it doesn't achieve it being dynamic.
Hi @davidwallis3101 , the point is that node is quite old and the implementation is a wrong approach to solve the problem. The idea is to implement this
https://github.com/axa-group/nlp.js?utm_source=gold_browser_extension
a machine learning library with data extraction features
Is there anyway of extracting the object that is matched?, just so I can carry on playing until NLP could be implemented?
NLP would be great to add and have previously looked at using it in a different project.
Working on NLP implementation
Development is almost done, I writing some docs and tests
https://github.com/guidone/node-red-contrib-chatbot/wiki/NLP.js
can't wait to test it!
On Wed, 29 Jan 2020, 12:27 Guidone, notifications@github.com wrote:
Development is almost done, I writing some docs and tests
https://github.com/guidone/node-red-contrib-chatbot/wiki/NLP.js
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/guidone/node-red-contrib-chatbot/issues/329?email_source=notifications&email_token=ADJWV7WXQDVBDIM4MXEUZXDRAFY4NA5CNFSM4IPJ2V7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKHAQZQ#issuecomment-579733606, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJWV7VMSB2XUQYPILBTDFDRAFY4NANCNFSM4IPJ2V7A .
any planned date for merging the pull into main?
Sometime during this week 🖖
NLP.js was merged in 0.18.10
how do I install this version as it's not published to npm.
just launch
npm install node-red-contrib-chatbot
in your node red installation (should be $HOME/.node-red
on a Mac)
it didn't appear to have been pushed to npm when I looked?
On Mon, 3 Feb 2020, 15:27 Guidone, notifications@github.com wrote:
just launch
npm install node-red-contrib-chatbot
in your node red installation (should be $HOME/.node-red on a Mac)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/guidone/node-red-contrib-chatbot/issues/329?email_source=notifications&email_token=ADJWV7TJNLEMZBVHCFWVUCLRBAZV3A5CNFSM4IPJ2V7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKUIAPQ#issuecomment-581468222, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJWV7U7TGVNHI5ZM4JW26DRBAZV3ANCNFSM4IPJ2V7A .
ok, npm view says it is the correct version - but node-red still stuck on 0.18.8 - will flatten my end and start again!
Ok, getting somewhere with this now, need to have a play with it in more detail and actually get it to do something :)
Looks good, any thoughts on whether Slots would be possible?
Hi, I'm using the universal receiver and I've created a lexicon step that defines some objects to test with called HouseObjects as follows (Ill make this dynamic later)
I've then got a listen node which has the following in
however in my text node I cant get it to use the object - and I suspect I'm missing something simple..
Also in the listen is it possible to do Turn[Verb] Switch[Verb] and have an or? can I use a Pipe like in regex - as some examples have pipes some have quotes and I'm not entirely sure on the syntax.
Also can I reference the matched word - from the "Turn or Switch" and then use the correct response automatically such as turning switching?
Thanks
David