----------------------
It seems like the model "gpt-4o" is not available in your current setup. The error message suggests that the only available model is "gpt-4-vision-preview".
You can try replacing "gpt-4o" with "gpt-4-vision-preview" in your code:
gpt_4o = OpenAIMultiModal(model="gpt-4-vision-preview", max_new_tokens=4096)
Please note that the model you use can significantly affect the results of your program. Make sure "gpt-4-vision-preview" is suitable for your needs.
If you still want to use the "gpt-4o" model, you might need to check if it's available in your version of the library or if it requires a specific setup or configuration. You can refer to the
LlamaIndex documentation () for more information.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------