I’d like to be able to process several related AI prompts in the same node that can each take multiple arguments to substitute for fields in the prompts.
The first question is if there’s a way to have one node act like there’s a case or switch statement in it so I can put related prompts into the same node but say which one I want to run? Like, if I have a series of prompts that I want to run and get back results from one, then figure out which one to run next, where it calls the same URL but with an arg that says which prompt to run?
The other question is how can I send arguments into the node via the URL that act as parameters that replace keys in the prompt text before it’s submitted?
If either of these is discussed somewhere, please feel free to point me to them.