From 4d0caa2aff21a160a43d303aa009681050e0485f Mon Sep 17 00:00:00 2001 From: ddobrin Date: Mon, 30 Dec 2024 14:23:09 -0500 Subject: [PATCH] Fixes #1543 Inaccurate warning for VertexAI Gemini Function Calling Signed-off-by: Christian Tzolov --- .../modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc | 4 ---- 1 file changed, 4 deletions(-) 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 18b2a51bf..f88867f40 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 @@ -115,10 +115,6 @@ https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/j == Function Calling -WARNING: As of 30th of April 2023, the Vertex AI `Gemini Pro` model has significantly degraded the support for function calling! While the feature is still available, it is not recommended for production use. -Apparently the Gemini Pro can not handle anymore the function name correctly. -The parallel function calling is gone as well. - You can register custom Java functions with the VertexAiGeminiChatModel and have the Gemini Pro model intelligently choose to output a JSON object containing arguments to call one or many of the registered functions. This is a powerful technique to connect the LLM capabilities with external tools and APIs. Read more about xref:api/chat/functions/vertexai-gemini-chat-functions.adoc[Vertex AI Gemini Function Calling].