Open Mr-LiuDC opened 2 months ago
Multimodality was not part of Spring AI 0.8.1. You can try it out using version 1.0.0-SNAPSHOT. I have an example here: https://github.com/ThomasVitale/llm-apps-java-spring-ai/tree/main/02-prompts/prompts-multimodality-openai.
OpenAI is now supporting multimodality with vision using the gpt-4-turbo
model. The gpt-4-vision-preview
model was a preview and it's not recommended anymore (see: https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4). Still, the example works with both the gpt-4-vision-preview
and with the gpt-4-turbo
models.
springAiVersion: 0.8.1
This is an example I saw here, but based on my testing, it seems that the
gpt-4-vision-preview
model is not yet supported.Spring AI - Multimodality - Orbis Sensualium Pictus