From 81c929f07ace66334d1853d9cade49c47f73fc39 Mon Sep 17 00:00:00 2001 From: Gareth Evans Date: Fri, 15 Nov 2024 12:06:53 +0000 Subject: [PATCH] docs: correct code in vertex chat functions doc --- .../api/chat/functions/vertexai-gemini-chat-functions.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/vertexai-gemini-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/vertexai-gemini-chat-functions.adoc index b4aec52ca95..5c2db13dfd5 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/vertexai-gemini-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/vertexai-gemini-chat-functions.adoc @@ -132,7 +132,7 @@ static class Config { return FunctionCallbackWrapper.builder(new MockWeatherService()) .withName("CurrentWeather") // (1) function name .withDescription("Get the current weather in a given location") // (2) function description - .withSchemaType(SchemaType.OPEN_API) // (3) schema type. Compulsory for Gemini function calling. + .withSchemaType(SchemaType.OPEN_API_SCHEMA) // (3) schema type. Compulsory for Gemini function calling. .build(); } ...