Duration: 3 Days
Description
This intensive three-day course is designed to help students to leverage generative AI by understanding the fundamentals of the OpenAI API. By the end of the course, developers will be equipped to build and deploy a fully functional chatbot using advanced prompt engineering techniques.
Audience
This course is intended for developers, technical professionals, and data enthusiasts who want a practical, hands-on introduction to building generative AI applications using OpenAI’s tools. It’s ideal for those seeking to quickly understand large language models (LLMs), chatbot design, and prompt engineering. Participants should be comfortable exploring APIs and integrating AI features into real-world use cases.
Objectives
- Describe the architecture and behavior of large language models like GPT
- Use the Chat Completions API effectively, including role design and output formatting
- Tune model outputs using parameters like temperature, top-p, and max tokens
- Design clear and effective prompts for various tasks, including few-shot and GKP techniques
- Build simple chatbots with memory and question-answering capabilities
- Understand basic embeddings and estimate usage costs (if time allows)
Prerequisites
Participants should have at least six months prior programming experience with Python. A working knowledge of APIs, JSON, and HTTP requests will be helpful. No prior AI or machine learning background is required, but curiosity about AI technologies is encouraged.
Course Outline
Module 1: Introduction to LLMs
- An Overview of Models
- Understanding an LLM
- GPT Fundamentals
Module 2: ChatGPT Completions
- System, User, and Assistant Roles
- Formatting and Handling Output
- Common Parameters (Temperature and Hallucination, Sampling with Top-p, Streaming, Max Tokens)
Module 3: Prompt Engineering
- Effective Prompts
- Few-Shot Learning
- General Knowledge Prompting (GKP)
Module 4: Chatbots
- Understanding Chatbots
- A Simple Bot
- Bot Memory
- Q&A Bots
Module 5: Optional Topics (if time allows)
- Basic Embeddings
- Cost Estimation