In this lab, you will be introduced to large language models (LLMs), explore their evolution and architecture, and practice basic prompt engineering techniques to interact with them. You’ll also examine their capabilities, applications, and current limitations.
Upon completion of this lab, you will be able to:
This course is designed for:
Completion of previous modules is highly recommended before attempting this lab.
Demo: “Meet Your First Large Language Model”
In this hands-on demo, you’ll connect the theory of LLMs to practice by making your first API call to an OpenAI model (gpt-4o-mini
). You will:
- Set up the OpenAI API in Python.
- Send a simple text prompt and read the model’s reply.
- Refine your prompt to see how instructions change the output.
- Try zero-shot, one-shot, and few-shot prompting to steer the model without fine-tuning.
Activity: “Test the Model’s Skills”
You’ll apply prompting techniques to test how well the model performs across different types of instructions.