Preparation
Get your OpenAI API key from https://platform.openai.com/api-keys.Configuration

gpt-4o
model in this example.
You can find all the available models from OpenAI website: https://platform.openai.com/docs/models/overview.gpt-4o
model in this example.
You can find all the available models from OpenAI website: https://platform.openai.com/docs/models/overview.