I am a beginner in prompt engineering. I need to create a prompt for two tasks . Can someone provide suggestions
Currently I am using below format
Context
Input variables
Task 1
Task 2
How can I make sure that only the respective rules are applied for that particular task.
Please share your thoughts on this
What may happen is that your rules for the tasks are too complex for the model and it gets confused. Have you tried if the model can perform both tasks separately in sufficient quality? After confirming this you start to instruct the model to perform the second task following the completion of the first until you hit a barrier.