Prompt engineering involves refining inputs to AI models like ChatGPT to get optimal responses. Key techniques include making prompts specific, using active voice, giving models time to think, avoiding prompt injections, and utilizing few-shot and zero-shot prompting. It also involves setting constraints, reducing
Table of contents
What is this new term called Prompt Engineering?Which type of LLMs do we use?1. A good prompt is very specific and follows a particular structure.2. β
Active voice β Passive voice.3. Give the model time to think.4. Avoid prompt injections.5. Few-shot prompting.6. Constraints.7. Zero-shot prompting.8. Chain-of-Thought (CoT).9. Reducing Hallucinations and using delimiters.10. Refine your prompts since there is no "perfect prompt".11. Ask the model to adopt the persona.ConclusionLatitude Follow10 Comments
Sort: