Coding task · Python course · Module 10: AI and Language Models

Simple Chat with OpenAI

Create a simple chat using the OpenAI API.

Task

Create an OpenAI client and send a message to the gpt-4 model.