Prompt Engineering
Instructor
Kunal Jain
Founder and CEO, Analytics Vidhya
What is a "prompt"?
LLMs gain knowledge
through the training
data
What is Prompt?
Prompt is the text you give to the LLM to get the answer you want.
Prompt
Query Task Description
Query
Examples
User (Optional) Pre-trained
LLM
Response
ChatGPT Demo with Basic Prompts
Sometimes, LLMs can make mistakes
Why Prompt and can go wrong
Engineering? They fail to provide correct output to
certain prompts
ChatGPT Demo
ChatGPT Demo
Why Prompt Helps in improving performance
Engineering? Helps in achieving the desired output
What is Its the process of refining our prompts to
Prompt get the optimal results.
Engineering?
What is Prompt Engineering?
Its about considering how to rewrite a prompt to get better results.
How to Build LLM Applications
using Prompt Engineering?
Building LLM Pretrained LLMs
Applications Right prompts with required information/
using Prompt context
Engineering
No Technical knowledge
No Model Training
Pros No Training Data
No Compute Resources
Very minimal cost
Inconsistent
Hallucination
Cons Very less information fits in
Not upto date
Thank You