Skip to main content

The ability to create conditional prompts

As an add-on to the 'master prompt' for specific context, it should be possible to work with conditional prompts.

Use case: product recommendations based on a set of preliminary questions where you can instruct the LLM to follow a specific logic.

Q1: if answer yes > do this, else, do that

....

I've tried to set this up in the main prompt but it's not 100% reliable and accurate.

1 comment

Log in to comment and vote

Comments1