Live data from Hacker News

Show HN: I built an app to generate story relationships using Mermaidjs

github.com

1–10 of 46 posts

Re: Show HN: I built an app to generate story relationships using Mermaidjs

#6
post #2

I was thinking JIRA stories, well corporate dev dirty mind.

You know Alice who wants to delete her account, and Bob who wants to change his password? Maybe the reason why they want to take account actions all of a sudden is because they're in the middle of a breakup and they're having trouble deciding how to divide their assets.

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?

Re: Show HN: I built an app to generate story relationships using Mermaidjs

#7
The system prompt can be found here:

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.

[1] https://github.com/sigoden/aichat

Re: Show HN: I built an app to generate story relationships using Mermaidjs

#9
I tried "The Wise Man's Fear" and the results were not so great[1]. It got a good number of the characters, but only showed them being related to Kvothe. Harry potter worked better'ish, but still not great[2].

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...

Post reply on HN