Hands-On Activity: Querying Different Models Using OpenAI API
Try querying different models to get a feel for their differences.
We'll cover the following
Now that we have a better understanding of the theory behind OpenAI API and the different models available, let's try out some comparisons. The objective here is to:
Learn how to query different models
Analyze the results from the models
Experimentation
In this section, we'll query different models using OpenAI API. The goal here is to test out different models and check their capabilities and limitations.
Try running the following code section with different models. If you have access to gpt-4
, compare it to gpt-3.5-turbo
.
Get hands-on with 1400+ tech skills courses.