Get a specific chapter/scene for context via prompt instructions
in progress
spaceemotion
in progress
spaceemotion
Just to clarify; this is about a function in custom prompts and not generally buttons and stuff in the app, right? cause we already have a popular request about this otherwise.
O
Only Amphibian
spaceemotion - Correct. The ability to customize a prompt for writing a specific scene beat, to get the maximum writing capability out of the AI.
Thanks!
O
Occasional Manatee
I would like to use it under "Write," either during scene beat completion or "continue writing." But it could potentially be useful in Chat as well.
Can you clarify what you mean when you ask if the scene references are static? I would guess you mean am I always looking to get context on a scene via Chapter number and Scene number. That's my primary use case, but I suppose it might also be useful to have the ability to get context on a scene that is N number of scenes back from the current one.
My main use case, however, would be a static reference by Chapter # and Scene #.
spaceemotion
Which use cases do you have for this function? Is it during chat? Text Replacements? Are your scene references always static?
J
Jade green Clownfish
spaceemotion
I'd like to suggest an enhancement to the proposed context.scene.get() function that would allow accessing previous scenes or chapters using relative offsets. This would complement the absolute referencing method currently being discussed.
Proposed functionality:
// Access N scenes before current scene (N = 1, 2, 3...)
context.scene.previous(N)
// Access N chapters before current chapter
context.chapter.previous(N)
// Access specific scene within a previous chapter
context.chapter.previous(N).scene(M)
Example use cases:
Referencing a callback scene:
// Include full text of the scene from two scenes ago
{context.scene.previous(2)}
Comparing character development:
// Include both current character introduction and previous appearance
<previousAppearance>
{context.scene.previous(3)}
</previousAppearance>
Continuing plot thread from earlier chapter:
// Access first scene of previous chapter
{context.chapter.previous(1).scene(1)}
This relative referencing would be particularly valuable for maintaining consistency in complex narratives, ensuring proper callback references, and helping the AI understand character development arcs that span multiple scenes or chapters.
The benefit over absolute referencing is that as you reorganize your novel, these references would automatically adjust to maintain the proper relative relationships between scenes, reducing maintenance overhead.
Thank you for considering this enhancement!