We always take entities in our "user stories" as faceless actors with only enough depth to motivate basic actions in our app. What if we've been missing the real story all along, all these users are characters living out a grand Shakespearean drama, and we've been too blind to see it?
... Wow this is great, I can really appreciate the rich dynamic between Alice and Bob and Eve with this detailed backstory that links their lives. But it is getting to be a bit much to understand all the relationships now; it would be really helpful to have some way to track and visualize the relationships between all of these users / characters, what do I do?
https://github.com/herol3oy/austen/blob/main/src/server/rout...
It would be more interesting if the graph could be generated by sourcing an arbitrary epub file into a RAG and have it figure out character relations without reading the whole book.
I wouldn't be surprised if it all could be done with a script using aichat[1] and rendering the diagram using graphviz.
My primary interest would be using these relational graphs to generate better structured summaries of stories in a structured JSON object for improved search/recommendations.
- [1]https://austen.pages.dev/ecbc2d49-c10d-4e49-ac68-0d37a819b52...
- [2]https://austen.pages.dev/ace16c1d-c74e-4737-a98d-5401047a1cd...
graph TD A[Carl] -->|Pet| B[Princess Donut] A -->|Enemy| C[Mordecai] A -->|Allies| D[Ellie] A -->|Allies| E[Katia] A -->|Enemy| F[The System] B -->|Rival| G[Bea] D -->|Friend| E E -->|Friend| A
https://novelchallenge.github.io/
At best you’re looking at 60% or so accuracy
Oh well.
Bea being Donut's rival… sounds interesting. Depending how you interpret it, it's not entirely wrong?
Carl being enemy of Mordecai looks really wrong though.
As for Carl being an enemy of the System (I assume the AI), that's also debatable.
And if the friend of a friend rule applied here, I think Carl would be a friend of Ellie too, since Carl is a friend of Katia, and Ellie is a friend of Katia too. And they are all allies. Weird.
https://austen.pages.dev/c2276990-1f2a-40e6-bd26-0cabb55d713...
It said Circe --Daughter--> Helios. So I thought oh it's supposed to be "Circe is Helios' daughter" but then it had Circe --Brother--> Aeetes and Circe --Mentor-->Hermes.
I had the same problem with https://timelines.0xmmo.co where I had to ground it in Wikipedia articles.