Prompt engineering develops prompts to obtain better results from large language models (LLMs), such as OpenAI's GPT-4. This lab illustrates several prompt engineering tactics that can be used to improve the quality of the results obtained from the OpenAI Chat Completions API. The goal of this lab is to put you in a position to apply prompt engineering to your specific use cases of LLMs.
This lab is built around the application of AI in content categorization. Specifically, given a piece of content, use AI to assign a category to it from a list of possible categories.
Upon completion of this intermediate-level lab, you will be able to:
Familiarity with the following will ensure the most beneficial lab experience:
The following content can be used to fulfill the prerequisites:
June 11th, 2025 - Updated Open AI model to gpt-4o-mini
September 18th, 2024 - Resolved an issue causing lab setup to fail