This version is still in development and is not considered stable yet. For the latest snapshot version, please use Spring AI 1.0.0-SNAPSHOT! |
Function Calling API
The integration of function support in AI models, permits the model to request the execution of client-side functions, thereby accessing necessary information or performing tasks dynamically as required.
![Function calling](../_images/function-calling-basic-flow.jpg)
Spring AI currently supports Function invocation for the following AI Models
-
OpenAI: Refer to the Open AI function invocation docs.
-
VertexAI Gemini: Refer to the Vertex AI Gemini function invocation docs.
-
Azure OpenAI: Refer to the Azure OpenAI function invocation docs.
-
Mistral AI: Refer to the Mistral AI function invocation docs.
-
Anthropic Claude: Refer to the Anthropic Claude function invocation docs.
-
MiniMax : Refer to the MiniMax function invocation docs.
-
ZhiPu AI : Refer to the ZhiPu AI function invocation docs.