Large language model (LLM) artificial intelligence (AI) has been used to produce human-like conversations with users through applications like OpenAI's ChatGPT. This lab introduces you to the OpenAI chat completion API and demonstrates how to use it to programmatically generate conversational responses. See what it takes to include generative AI in your applications and how to use it to create engaging user experiences.
You will use the official OpenAI Python client library to interact with the chat completion API in a Jupyter notebook. By iterating on a prompt, you will understand how to improve response quality and accuracy in the context of a conversation.
Upon completion of this beginner-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:
September 18th, 2024 - Resolved an issue causing lab setup to fail