What would be the best approach for extracting entities and relationships among those entities, so that I can achieve something like the following?
"I want to buy a book on Amazon, and then I'll walk my dog."
Action 1 --- Subject: Book Action: Buy Quantity: 1 Location: Amazon Action 2 --- Subject: Dog Action: Walk
This is a very loose example, but the idea is that I need to extract the entities and be able to determine the relationships between them. I see that NER is a major focus of many of the models available, so I don’t think I’ll have trouble with that. But I don’t see nearly as much focus on relationship extraction, so that’s primarily where my question lies - what is the best way to approach RE with hugging face? Or is hf not well suited for RE?