DOWNLOAD COURSE MIND MAP FROM HERE.

Generative AI Solution Development

From Prompt Engineering to RAG

Prompt Engineering Primer

Prompt → an input or query given to an LLM to elicit a specific response or output.

Prompt engineering → practice of designing and refining prompts to optimize the responses generated by AI models.

A good prompt usually consists of:

image.png

Prompt Engineering Techniques

Zero-shot Prompting → no examples are provided

image.png

Few-shot Promptinga few input-output examples are provided to guide the model

image.png

Prompt Chainingbreak tasks into subtasks:

image.png

image.png

Chain-of-Thought Prompting“let’s think step by step”:

image.png

Prompt Engineering Tips & Tricks