{ previous_document } as a plugin variable
As part of Chapter Continuity, there is now a variable being used behind the scenes that represents a single linked document that represents a previous part of the story that the user wants to include in the prompt when generating the next bit of prose in Write or Draft.
I’m requesting that this variable be exposed in the plugin creator tool when Chapter Continuity is released. This will allow plugins to fill a variety of workflow gaps (for a variety of workflow styles) that will remain when Chapter Continuity is released.
Log in to comment and vote
Comments2
May 10, 2025
PinnedThis variable exists! Use
{{ previous_document_text }}in plugins to reference text from the chain of previously linked documents.More here:
https://discord.com/channels/1154426426674655255/1156664846083956736/1369016058727628842
Mosh Pit
May 10, 2025
I believe this “more here” link goes to the Ambassadors channel. Can you post the “more here” info in the plugins channel too so the rest of us can see it?