From the course: Accelerate DevOps and Software Development with AI: Modern Tools and Workflows for Enhanced Software Delivery
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Prompt engineering for developers
From the course: Accelerate DevOps and Software Development with AI: Modern Tools and Workflows for Enhanced Software Delivery
Prompt engineering for developers
- If you've ever typed a question into ChatGPT and gotten a vague or unhelpful answer, or if Copilot generated code that didn't quite fit, you are not alone. The quality of the output often comes down to one key factor, the prompt you gave it. This is where prompt engineering comes in. Prompt engineering is the skill of crafting clear, specific and structured inputs to get the most useful and accurate responses from AI tools. And for developers, it's becoming just as important as knowing your editor shortcuts or writing good documentation. So how do we write better prompts? Let's start with the most common mistake being too vague. If you type something like, "How do I write a Python function?" You'll get a generic example. Maybe something like a Fibonacci calculator, but if you instead write, "Write a Python function that parses a CSV file "and returns a list of dictionaries, "where each dictionary maps column…
Contents
-
-
-
-
(Locked)
What powers GitHub Copilot and ChatGPT?4m 20s
-
(Locked)
Prompt engineering for developers2m 38s
-
(Locked)
Role-based prompting for better code reviews2m 31s
-
Iterative prompting to guide AI to better code3m 35s
-
(Locked)
Coding project: Plan and test with AI tools1m 59s
-
(Locked)
Coding project: Speed up Python coding with smart prompts2m 26s
-
(Locked)
Coding project: Create AI-assisted test cases in Python2m 31s
-
(Locked)
Coding project: AI-powered docstrings for developers2m 18s
-
(Locked)
Coding project: Review Python code with AI1m 55s
-
(Locked)
Coding project: Navigating code with AI59s
-
(Locked)
Coding project: Refactor Python code with AI4m 6s
-
(Locked)
Case studies: AI wins and fails4m 22s
-
(Locked)
-
-
-