- Issue created by @marcus_johansson
- Status changed to Closed: outdated
about 8 hours ago 9:29am 13 May 2025
Currently the base and advanced inputters either uses a very simple replacement scheme or a Token replacment scheme. Both are ok, but do not allow for conditionals in the prompt.
Think of the following - you have a prompt that generates articles from legacy nodes and it takes a short creation description and a list of bullet points to think about when generating the content. Because the legacy nodes only sometimes have the list of bullet points, it needs to only add that to the prompt when they exist. You can of course write in the prompt "If the bullet points exists, then take those into consideration", but it adds tokens you have to pay for that are not needed.
Look how Views solved it.
Active
Documentation