Gen-AI Developer Classroom notes 23/Mar/2026

Prompt Engineering Contd

Chain of Thought

  • This kind of prompts enable reasoning and keyword step by step
  • Example
Each pen costs 10 rs and pencil costs 5 rs
Tell me what would be price of 17 pens and 20 pencils with 10% discount step by step

Multiple Answers

  • When we are evaluating plans
  • Example
you are a coach 

I'm preparing for interviews. Most of my time is lost in watching reels and procrastination

Give me three possible solutions to increase productivity so that i can be effective with interviews

Ensure each solution has a heading, description which does not exceeed 100 words and major steps as bullet points

Anatomy of a Good Prompt

  • Role
  • Task
  • Audience
  • Examples
  • Constraints
  • Output Format

  • Lets create a Exercise routine

You are expert fitness coach

Create me an exercise routine to look like MMA wrestler in 6 months

I'm a lazy person with 120 kgs of weight
I eat two biryanis every day

Give me a detailed plan and weekly chart in tabular format
  • Lets create a Travel plan for 7 days in north india
You are an expert travel advisor
I want to have a 7 days of travel for stress relief and i stay in hyderabad

My budget is 20000 and i want to experience quiter places with luxury kind of stay at minimum budgets and want to visit north east india.

Give me a solid travel plan

Context Engineering

  • LLMS are stateless, you ask question they generate response
  • Applications like ChatGPT, Implement Memory.
  • Memory is of two types

    • Short Term: Generally refers to the conversations happening in current session.
    • Long Term
  • Context is additional information which we pass to LLM

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading