Function Calling using Google Vertex AI > Introduction to Function Calling using Google Vertex AI recipe
Introduction to Function Calling using Google Vertex AI recipe
The Function Calling using Google Vertex AI recipe is based on REST and SOAP APIs. The recipe allows you to create the payload for Application Integration processes and execute them dynamically based on a user query.
The recipe allows you to specify the user prompt and enter the function declaration in the JSON format to query other processes based on a function call response using a guide.
The process makes a request to Google Vertex AI with the specified function declaration and user prompt. Google Vertex AI recognizes the query, extracts key variables and values, and returns them in the appropriate format. Based on the received response, a function call is generated with function arguments and a link to the process execution.
The user confirms the accuracy of the function call response to make the call to Application Integration process or refuses to make function call again. The process requests the Application Integration recipe based on the function-calling response. The user then receives a message about the success of the recipe call and a response from the Application Integration recipe.