Skip to content

Commit 4d0caa2

Browse files
ddobrintzolov
authored andcommitted
Fixes #1543 Inaccurate warning for VertexAI Gemini Function Calling
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
1 parent fd6db2d commit 4d0caa2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ https://github.com/spring-projects/spring-ai/blob/main/spring-ai-core/src/main/j
115115

116116
== Function Calling
117117

118-
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.
119-
Apparently the Gemini Pro can not handle anymore the function name correctly.
120-
The parallel function calling is gone as well.
121-
122118
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.
123119
This is a powerful technique to connect the LLM capabilities with external tools and APIs.
124120
Read more about xref:api/chat/functions/vertexai-gemini-chat-functions.adoc[Vertex AI Gemini Function Calling].

0 commit comments

Comments
 (0)