Why does the utils code for openAI not have system instruction?

In the utils.py in M2_UGL_1 (module 2, ungraded lesson 1) anthropic model in image_anthropic_call has the system message set whereas image_openai_call does not set it.

Is this intentional or a miss?

Hello @pavithra.kamath , welcome!

The call formats for Claude and OpenAI models are slightly different that is why you don’t see system message for the latter, but for both the model name and the prompt are passed, which is what matters here.

Note: When asking questions, it really helps to include screenshots or specific sections of the code, that makes it much easier for others to help.