I'm trying to get relation between entities for the model which we have already built for NER using spacy. I was able to find relation_extractor trainable component to get the relationship among the entities.
I am very new to relation_extractor and was able to understand how to train the data. But unfortunately I was not able to find the format needed for annotation and couldn't find any resources as well. Could someone help me with the format for annotation data. Would be really helpful.
Documentation referred: https://spacy.io/usage/layers-architectures#components
Thanks in advance.