К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Prompt Engineering in Python, with GPT, and the OpenAI API · LearnSpace
Назад в каталог
courseraАнализ данных

Prompt Engineering in Python, with GPT, and the OpenAI API

Курс от Packt
Средний≈ 6 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

Updated in May 2025. This course now features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Master the art of prompt engineering in Python and unlock the full potential of GPT models and the OpenAI API. This course will teach you how to create, improve, and fine-tune prompts for various tasks, from personal coaching to building chatbots. You'll gain hands-on experience in iterative prompt design, mitigating hallucinations, and extracting structured information with JSON mode. The course begins with an introduction to prompt engineering fundamentals and explores how GPT models work in practical scenarios. You'll learn to set up your OpenAI API key, implement chain-of-thought prompting, and compare model versions like GPT-3.5 and GPT-4. Through real-world examples, you’ll also tackle advanced topics such as emotion-driven prompts and exponential backoff strategies. In later modules, you'll build your own Python API chatbot, enhance multi-turn conversations, and use GPT for extracting numerical values and image-based input. Techniques like "prompt hacking" and smart prompting will teach you how to maximize GPT’s performance, even with older models. This course is ideal for developers, data enthusiasts, and AI professionals seeking to master prompt engineering. Basic Python knowledge is required, and the course is designed for an intermediate difficulty level.

Навыки, которые вы освоите

JSONMultimodal PromptsOpenAI APIData ValidationChatGPTLarge Language ModelingAI SecurityOpenAIPrompt PatternsKey ManagementText MiningPython ProgrammingLLM Application

Программа курса

6 модулей · 42 учебных материалов

01Introduction6 материалов

Introduction

Introduction to the Course 'Prompt Engineering in Python, with GPT, and the OpenAI API'ЧтениеCourse Overview and Key Points of DifferenceВидеоFull Course ResourcesЧтениеIntroductionВидео

Учитесь у экспертов

Packt - Course Instructors

Преподаватель курса

Prompt Engineering in Python, with GPT, and the OpenAI API
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 6 ч

6 модулей

Язык: Английский

Субтитры: Арабский, Французский, Итальянский, Бразильский португальский, Корейский, Немецкий, Испанский, Японский, Венгерский

Часть программы вашего университета
This course gets updated, and your instructor gets "updated"Part 01Видео
This course gets updated, and your instructor gets "updated"Part 02Видео
02ChatGPT as a Personal Coach7 материалов

ChatGPT as a Personal Coach

Turning ChatGPT into a Personal CoachВидеоHow to download course prompts, code, and connect to resourcesВидеоCoach Prompt Deep DiveВидеоWhere ChatGPT failsВидеоLearning Python with Custom GPTsВидеоPython Basics with Real-World ScenariosDIALOGUEChatGPT as a Personal Coach - AssessmentЗадание
03Building up Prompts, Mitigating Hallucination, and Getting the Best Answers16 материалов

Building up Prompts, Mitigating Hallucination, and Getting the Best Answers

Setting up your OpenAI API KeyВидеоLearning Outcomes for the First NotebookВидеоPython API Prompting and Iterative Prompt Improvement Part 1ВидеоMake sure that your version of the openai package is greater than 1.0.0ВидеоUsing GPT-4 and Other Model VersionsВидеоIterative Prompting Improvement Part 2ВидеоEmphasizing an Important Point ВидеоOptional: Implementing Exponential Backoff for Querying the OpenAI APIВидеоHow we have applied Chain-of-Thought promptingВидеоChain-Of-Thought Prompting - the formal introductionВидеоReasoning ModelsВидеоInducing and Mitigating Hallucination in LLMsВидеоEmotionPrompt - Findings from the PaperВидеоEmotionPrompt in PracticeВидеоSetting Up Environment Variables & Chain of Thought PromptingDIALOGUEBuilding up Prompts, Mitigating Hallucination, and Getting the Best Answers - AssessmentЗадание
04Python API Chat Bot, and Prompt Hacking5 материалов

Python API Chat Bot, and Prompt Hacking

Python API Chat BotВидеоPrompt HackingВидеоOptional: Implementing Exponential Backoff for Multi-Turn ConversationsВидеоCreating a Secure Python ChatbotDIALOGUEPython API Chat Bot, and Prompt Hacking -AssessmentЗадание
05Extracting Numerical Values from Text Data, Testing your Prompts, and JSON Mode4 материалов

Extracting Numerical Values from Text Data, Testing your Prompts, and JSON Mode

Extracting Numerical Values from Text Data, and Testing the ExtractionВидеоJSON Mode, and pushing GPT 3.5 to the level of GPT 4 with smart promptingВидеоExtracting Information from Real Estate Listings with LLMsDIALOGUEExtracting Numerical Values from Text Data, Testing your Prompts, and JSON Mode - AssessmentЗадание
06Multimodal Prompting4 материалов

Multimodal Prompting

Conclusion to the Course 'Prompt Engineering in Python, with GPT, and the OpenAI API'ЧтениеImage Understanding AKA "Vision"ВидеоFull Course Practice AssessmentЗаданиеFull Course AssessmentЗадание