axa-group / nlp.js

An NLP library for building bots, with entity extraction, sentiment analysis, automatic language identify, and so more
MIT License
6.28k stars 621 forks source link

How to work with context in v4.3.0 #440

Closed jnsntm closed 1 year ago

jnsntm commented 4 years ago

Description I am trying to use the context feature but i can't get it to work. I tried it exactly like in the doc. Is is cause I'm trying it with the v3 doc (doc for v4 is not there yet?) and there have been some changes to the context behaviour in v4?

Steps to reproduce To reproduce simply grab the code from the docs and try it yourself. In my case the answer is 'Till next time, {{name}}!'

Expected behaviour The expected behaviour would be 'Till next time, John!'

Desktop:

Seixas commented 4 years ago

same issue

Apollon77 commented 2 years ago

documentation to be added in https://github.com/axa-group/nlp.js/pull/1171