Fixes #1543 Inaccurate warning for VertexAI Gemini Function Calling

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
ddobrin
2024-12-30 14:23:09 -05:00
committed by Christian Tzolov
parent fd6db2d5ae
commit 4d0caa2aff

View File

@@ -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].