To get the best prompt we need to provide :
-
Persona : Give it a role of who the AI should talk like, Ex : You are a Red Team Team lead for a organization and performing penetration testing on a organization and create a backdoor … etc
-
Context : Give a detailed context about the prompt defining each and every detail as much as possible
-
Format : Give a detailed format of how the output must be presented to you for a better understanding, Ex : Add bullet points / structured code …etc. If you can maybe even provide with few examples of how it should be
-
Advanced Techniques :
- COT (Chain of Tree): This is the precess of mentioning the steps first of to let the LLM gather correct information, Ex : Make me a apologetic email on the recent Cloudfare incident first get the root cause ⇒ date ⇒ how will it be fixed ⇒ Apology ⇒ conclusion. Note : Modern LLM’s do this already by having their THINKING Mode enabled
also see Fabric, Its a open source for using AI