0% found this document useful (0 votes)
179 views16 pages

Understanding Prompt Engineering for LLMs

T

Uploaded by

jeevug
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Topics covered

  • User-Centric Design,
  • Prompt Refinement,
  • Response Generation,
  • LLMs,
  • Optimal Results,
  • Performance Metrics,
  • Prompt Context,
  • Building Applications,
  • Prompt Strategies,
  • User Queries
0% found this document useful (0 votes)
179 views16 pages

Understanding Prompt Engineering for LLMs

T

Uploaded by

jeevug
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Topics covered

  • User-Centric Design,
  • Prompt Refinement,
  • Response Generation,
  • LLMs,
  • Optimal Results,
  • Performance Metrics,
  • Prompt Context,
  • Building Applications,
  • Prompt Strategies,
  • User Queries

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

You might also like