Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Prompt Engineering in Python, with GPT, and the OpenAI API [Video]
Prompt Engineering in Python, with GPT, and the OpenAI API [Video]

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

Profile Icon Slava Razbash
By Slava Razbash
$79.99
Video Jul 2024 2 hours 2 minutes 1st Edition
Video
$79.99
Subscription
Free Trial
Renews at $19.99p/m
Profile Icon Slava Razbash
By Slava Razbash
$79.99
Video Jul 2024 2 hours 2 minutes 1st Edition
Video
$79.99
Subscription
Free Trial
Renews at $19.99p/m
Video
$79.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Key benefits

  • Comprehensive exploration of prompt engineering with Python and GPT
  • Step-by-step guide to using the OpenAI API for advanced AI solutions
  • Techniques for iterative prompt improvement and mitigating AI hallucinations

Description

This comprehensive course guides you through the multifaceted world of prompt engineering using Python and the OpenAI API. Starting with an overview of the course, you will understand the key differentiators and the unique advantages this training offers. You'll be introduced to the concept of using ChatGPT as a personal coach, learning to turn this AI into a tailored educational guide. The second section delves into building effective prompts, mitigating hallucinations, and ensuring optimal answers from AI models. You’ll set up your OpenAI API key and embark on a hands-on journey through Python API prompting. This part emphasizes iterative prompt improvement and introduces advanced concepts such as Chain-of-Thought prompting. You'll learn to induce and mitigate hallucinations in language models and apply findings from cutting-edge research papers like EmotionPrompt in practical scenarios. In the final sections, you'll construct a Python API chatbot and explore the nuances of prompt hacking. The course also covers extracting numerical values from text data and testing prompts, pushing GPT 3.5 capabilities closer to GPT 4 through intelligent prompt strategies. By the end of this course, you will have a robust understanding of prompt engineering and be equipped to develop sophisticated AI applications.

What you will learn

  • Master prompt engineering techniques in Python
  • Implement and optimize the OpenAI API for various applications
  • Mitigate hallucinations and enhance AI responses
  • Develop custom AI solutions for personal and professional use
  • Extract and process numerical data from textual information
  • Create and refine custom prompts for various AI tasks

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jul 30, 2024
Length 2 hours 2 minutes
Edition : 1st Edition
Language : English
ISBN-13 : 9781836640219
Category :
Concepts :

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Product Details

Publication date : Jul 30, 2024
Length 2 hours 2 minutes
Edition : 1st Edition
Language : English
ISBN-13 : 9781836640219
Category :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Table of Contents

5 Chapters
1. Introduction Chevron down icon Chevron up icon
2. ChatGPT as a Personal Coach Chevron down icon Chevron up icon
3. Building up Prompts, Mitigating Hallucination, and Getting the Best Answers Chevron down icon Chevron up icon
4. Python API Chat Bot, and Prompt Hacking Chevron down icon Chevron up icon
5. Extracting Numerical Values from Text Data, Testing your Prompts, and JSON Mode Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How can I download a video package for offline viewing? Chevron down icon Chevron up icon
  1. Login to your account at Packtpub.com.
  2. Click on "My Account" and then click on the "My Videos" tab to access your videos.
  3. Click on the "Download Now" link to start your video download.
How can I extract my video file? Chevron down icon Chevron up icon

All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.

How can I get help and support around my video package? Chevron down icon Chevron up icon

If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail customercare@packt.com with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.

  1. Video
  2. Format watched (HTML, MP4, streaming)
  3. Chapter or section that issue relates to (if relevant)
  4. System being played on
  5. Browser used (if relevant)
  6. Details of support
Why can’t I download my video package? Chevron down icon Chevron up icon

In the even that you are having issues downloading your video package then please follow these instructions:

  1. Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
  2. Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.