Allow context to be compiled from multiple sources for a specific purpose
Opened this issue · 0 comments
In the case of LayerCraft City Maker specifically, there can be a lot of information in the city backstory. That's basically the dumping ground for all the core information for any purpose, and created sentence-by-sentence. This makes prompts longer, but worse seems to dilute parts of the prompt.
I'm thinking it should be possible to create "backstory for character building" and "backstory for building definitions" etc.
I think this could be a property on the thing being compiled (in this case cityBackstory). They would be fairly ad hoc, like $cityBackstory.characterBuilding
which would be based on a prompt attached to cityBackstory
like:
In a city $cityName/etc
These are some important facts:
$cityBackstory|markdownList
Summarize all the relevant details that would affect the populace and character descriptions of the people in $cityName:
Presumably that would get regenerated silently anytime there was anything added or removed from cityBackstory.