Change the beat length output on the fly
in progress
P
Past Bass
Some beat outputs need to be lengthy, others to be short. The only way to adapt now is to have different prompts.with only this value changed.
A better way would be to create a new variable available in the prompt system (with a default set in the prompt) and a ruler in the scene beat interface to adjust its value (bonus: a drop-down menu to select words/paragraphs/lines/verses).
It could be written like this in the prompt: {length "default=400 words""}
spaceemotion
in progress
R
Razzmatazz Possum
This. My novel has been messed up with lengthy monologues. lol!
D
Damask Swift
hmm... i normally include something like this in the prompt: "Write the number of words indicated in the latest instruction provided by the user. Otherwise default to 400 words."
That way, I can easily prompt the AI to use a specific number of words, while still having it default to an amount that is widely appropriate for the task at hand. Seems to work for me with most models so far.
Doing something like {length "default=400 words"} will mean that NC will just have to expand the directive into a text prompt anyway, as the models themselves don't use that type of output system. Meaning NC would likely have to expand the length directive to the type of wording that I've indicated above.
At least, that is my understanding of how prompt engineering works!
C
Correct Gibbon
To accommodate multiple languages and how different models interpret “words” (ie, Gemini on OR), the drop down could say “tokens” instead of words.
I use this currently in my beats box. I’ve removed the word count instruction from my custom prompts and use a single sentence instruction at the top of my beat box, before my beats. It has worked seamlessly every time.
P
Past Bass
Additional idea for the bonus drop-down menu.
Problem: As the Novelcrafter interface is not yet translated, the default menu will default to units in English, even if the prompt used is in another language.
Solution : create a new optional attribute (unit) for the proposed {length} function
Example (in French):
{length "default=400" "unit="mots|phrases|vers|paragraphes"}