From 1d6bcbcedf63ffd25fc9815f305aea9b48518b02 Mon Sep 17 00:00:00 2001 From: Sujin Kim <108571492+cowboysj@users.noreply.github.com> Date: Wed, 16 Oct 2024 08:13:40 +0900 Subject: [PATCH] docs : correct typo from "o" to "on" in vertexai-gemini-chat.adoc --- .../modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc index 01da3456f..9e6c238b3 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc @@ -138,7 +138,7 @@ Below is a simple code example extracted from https://github.com/spring-projects ---- byte[] data = new ClassPathResource("/vertex-test.png").getContentAsByteArray(); -var userMessage = new UserMessage("Explain what do you see o this picture?", +var userMessage = new UserMessage("Explain what do you see on this picture?", List.of(new Media(MimeTypeUtils.IMAGE_PNG, data))); ChatResponse response = chatModel.call(new Prompt(List.of(userMessage)));