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
-
Anthropic Claude: Refer to the Anthropic Claude function invocation docs.
-
Azure OpenAI: Refer to the Azure OpenAI function invocation docs.
-
Google VertexAI Gemini: Refer to the Vertex AI Gemini function invocation docs.
-
Groq: Refer to the Groq function invocation docs.
-
Mistral AI: Refer to the Mistral AI function invocation docs.
-
OpenAI: Refer to the Open AI function invocation docs.