Currently NLP drivers receive only the message sent by a user. In more advanced NLP cases, it would be helpful to also have the reply the bot sent to the user for context.
Additionally, there should be a way for NLP drivers to be able to access all potential intent and entity matches. For example, given this handle_message() block:
Currently NLP drivers receive only the message sent by a user. In more advanced NLP cases, it would be helpful to also have the reply the bot sent to the user for context.
Additionally, there should be a way for NLP drivers to be able to access all potential intent and entity matches. For example, given this
handle_message()
block:The NLP helper should be able to access all hash keys arguments. That would be
[:yes, "Remind me later", :no, :call]