Rasa and Coreference Resolution in spaCy - neuralcoref

Is there any tutorial how do i use GitHub - huggingface/neuralcoref: ✨Fast Coreference Resolution in spaCy with Neural Networks with Rasa?

Fast Coreference Resolution in spaCy with Neural Networks Neural Coreference – Hugging Face GitHub - huggingface/neuralcoref: ✨Fast Coreference Resolution in spaCy with Neural Networks

I need a Coreference Resolution and it seems that Rasa can support this particular code in a pipeline because here it is registered as Spacy addon: https://spacy.io/universe/project/neuralcoref

What i need is coref in my chat bot after i trained it to work automatically:

I have a chair. Can you give it to me?

Rasa should understand that “it” means “chair” and utterance should contain this word for example “Ok, you can take chair there”

@akelad

hi @BitcoinKing - there is no such tutorial at the moment. What we see more often in real conversations is the need to resolve entities across multiple dialogue turns. Check out this tutorial on how to do that Integrating Rasa with knowledge bases

I have read that already, but that is another task.

My challenge is about users: once they see bot is stupid they want to leave it

Hi @BitcoinKing, were you able to find any tutorial or source related to your problem?

Hi @BitcoinKing,

if you define the capability of processing “I have a chair. Can you give it to me?” correct regarding the coreference resolution as “not being stupid”, I would be surprised.

However - why does the suggestion of @amn41 not fit your challenge?

As long as you only want to reference from “it” to “chair”, you could easily adapt the KnowledgeBaseAction for that!?

Regards
Julian