Immediately after switching the page, it will work with CSR.
Please reload your browser to see how it works.
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.
https://novelchallenge.github.io/
At best you’re looking at 60% or so accuracy
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
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...