Going beyond ChatGPT: introduction to prompt engineering & LLMs
summary
Covers a concrete pipeline: uses OpenAI API (GPT-3.5/4) and LangChain in a Jupyter notebook on GitHub/Binder to classify app feedback by building a prompt template that returns JSON output and an index. Demonstrates it on 20 synthetic examples, shows token counting and cost math (~$0.004 for 20 items on GPT‑3.5), compares GPT‑4 quality versus cost, implements programmatic calls, warns about storing API keys, and shows a code‑execution demo that manipulates pandas — everything runs live in the notebook.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:48Prompt engineering for data science
- 8:03Generative LLMs basics
- 18:09LLMs for feedback analysis
- 30:44Coding environment setup
- 32:35Performance issue classification with API
- 41:14Effective prompt design
- 51:15Edge cases in prompts
- 53:01API cost and tokens
- 58:57Scaling solutions
related talks
01h 56mPrompt Engineering: The Path to Effective Work with ChatGPT
02h 00mChatGPT & Prompt Engineering
51mChatGPT as a developer's personal servant
47mThe Art of Prompt Engineering: Best Practices for Effective AI Interactions
01h 08mIn Prompts We Trust
22mAI, Make It So - A Dive into the Universe of Prompt Engineering
21mChatGPT, LLMs, and LangChains - A Beginner's Guide
01h 33mThe Developer's Guide to ChatGPT API
