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:
Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.