GenAI L7 - Prompt Engineering HandsOn

Duration: 10 min

This video lesson is available to enrolled students.

Return to /learn/CDAC-C-CAT-COMPLETE-PREPARATION/section-b-ai-big-data-basics/ai-ml-by-arun-sir/prompt-engineering/asset-genai-l7-prompt-engineering-handson after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. Section A | English: Vocabulary, Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Preposition, Sentence Correction (Error Correction), Sentence Completion (Fill in the blanks), Articles, Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Verbal Analogy (Word Based Analogy)
  2. Section A | Quant Aptitude: Ratio and Proportion (Ratios), Mixture and Alligation, Permutation and Combination, Number System, HCF LCM, Sequence and Series (Series), Speed Time and Distance, Arithmetic, Algebra, Powers and Exponents (Surds and Indices), Average, Age Problems, Percentage, Profit and Loss, Partnership, Time and Work, Simple Interest and Compound Interest, Mensuration and Geometry, Probability, Pipe and Cistern
  3. Section A | Reasoning: Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Calendar, Clock, Blood Relations, Directions (Direction Test), Seating Arrangements, Ranking, Order and Sequence, Puzzle Solving (Puzzles)
  4. Section B | C Programming: C Programming by Yash Sir, Coding Questions by Yash Sir
  5. Section B | Data Structures: Algorithm Analysis, Greedy Algorithms, Time Complexity Analysis, Sorting Algorithms, Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs
  6. Section B | OOP (C++): Object Oriented Programming (OOPS), Programming in C++
  7. Section B | OS: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Threads & Process Creation, Deadlock, Memory Management, Virtual Memory, Disc Scheduling, File Management, Windows OS
  8. Section B | Networking: Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware basics
  9. Section B | AI & Big Data Basics: AI & ML by Arun Sir, Big Data Systems
  10. Section C | Digital Electronics: Digital Systems & Boolean Basics, Logic Gates & Hardware, Boolean Expression, Boolean Minimization, Combinational Circuit, Sequential Circuits, Number System, Number Representation, Analog-Digital Conversion
  11. Section A, C | Comp. Fundamentals, COA: Basics of COA, Floating Point Rep, Cache Memory Organization, Input Output Organisation, Pipelining, Instr Formats & Modes, Control Unit Design, Register Transfer and Microoperations, Multiprocessors, Programming the Basic Computer
  12. MOCK TEST:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

The video demonstrates a tutorial on using the ChatGPT AI chatbot to generate a detailed 3-day travel itinerary for Goa, India. The instructor first shows how to prompt ChatGPT to create a balanced itinerary that includes historical landmarks, beaches, cultural sites, and local restaurants, emphasizing a mix of guided tours and free time. The video then transitions to a second example, where the instructor uses a structured prompt to teach Java programming concepts to final-year CS students. The prompt instructs the AI to act as a Java professor, explaining the language's real-world applications, key concepts like OOP and multithreading, and providing practical interview tips and real-life analogies. The tutorial highlights the importance of clear instructions, context, and output formatting to get the desired results from the AI.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The video opens on the ChatGPT website, showing the main interface with the prompt 'What can I help with?'. The instructor types a request into the input box: 'write me itinerary for Goa'. The AI responds by generating a 5-day Goa itinerary, which is displayed on the screen. The itinerary includes a brief introduction and three images of beaches and a waterfall, suggesting a balanced and fun travel plan. The instructor then scrolls down to view the full itinerary, which is structured by day, with activities for morning, afternoon, and evening.

  2. 2:00 – 5:00 02:00-05:00

    The instructor demonstrates how to refine the prompt for a more specific itinerary. The screen shows a text editor with a detailed prompt for a 3-day trip to Goa. The prompt includes instructions to generate a detailed itinerary with visits to historical landmarks, beaches, cultural sites, and local restaurants, ensuring a balance between guided tours and free time. The context specifies that the traveler is a first-time visitor interested in Goa's colonial history, local culture, and authentic cuisine. The instructor then returns to the ChatGPT interface and inputs this refined prompt.

  3. 5:00 – 10:00 05:00-10:00

    The video shows the AI generating a detailed 3-day itinerary for Goa based on the refined prompt. The itinerary is structured by day, with specific times, locations, and activity descriptions. Day 1 includes a visit to Panaji and the Mandovi River, with a breakfast at a local café. Day 2 covers beaches, forts, and cultural sites, with a lunch at a legendary Goan restaurant. Day 3 focuses on nature, culture, and serene beaches, with a visit to the Shantadurga Temple and a lunch at Martin's Corner. The instructor then transitions to a new topic, demonstrating how to use ChatGPT to teach Java programming. The screen shows a new prompt instructing the AI to act as a Java professor and explain the language to final-year CS students, focusing on real-life applications and interview tips.

  4. 10:00 – 10:29 10:00-10:29

    The video shows the AI's response to the Java teaching prompt. The AI begins by stating it will act as a Java professor and focus on real-world applications. The response is structured with sections like 'Enterprise / Backend Applications (Most Important)' and 'Financial & Banking Systems'. The AI provides a real-life analogy, comparing Java to the electrical wiring of a smartphone app, emphasizing its importance. The instructor highlights the effectiveness of the prompt in generating a comprehensive and practical explanation of Java.

The video provides a comprehensive tutorial on leveraging AI for practical tasks. It first demonstrates how to use ChatGPT to create a detailed travel itinerary by providing clear instructions, context, and output formatting. This is followed by a second example that showcases the power of structured prompting to generate educational content. By instructing the AI to act as a Java professor and focus on real-world applications, the video illustrates how to obtain a detailed, practical, and engaging explanation of a complex topic. The key takeaway is that the quality of the AI's output is directly dependent on the quality of the input prompt, and that a well-structured prompt can yield highly relevant and useful results.

Loading lesson…