Fiction character relationship summarization?

Follow the full discussion on Reddit.
So I am working on a project and want you to be able to list two names of characters in a book and get a summary of their relationship, given the entire book text is provided. I could pretty easily track characters talking with each other and get a valence metric, but I am wondering if there is a Chat-GPT style bot that I can throw into Python, that I can ask: “Summarize the relationship between X and Y”. I don’t want anything that uses online APIs, subscriptions, or has a closed source.

Comments

There's unfortunately not much to read here yet...

Discover the Best of Machine Learning.

Ever having issues keeping up with everything that's going on in Machine Learning? That's where we help. We're sending out a weekly digest, highlighting the Best of Machine Learning.

Join over 900 Machine Learning Engineers receiving our weekly digest.

Best of Machine LearningBest of Machine Learning

Discover the best guides, books, papers and news in Machine Learning, once per week.

Twitter