You can declare functions and query other processes based on a function call
response.
Open the
Function Calling using Google Vertex
AI
guide.
On the
Start
tab of the Start step, ensure that the
Run As
field is set to
Current User
.
Save and publish the guide.
On the
Actions
menu, click
Run
. Alternatively, you can copy the execution URL from the
Properties Details
dialog box to run the guide.
On the
Instructions
page, enter the following values:
In the
Enter a prompt below
field,
enter your question based on the function declaration.
Optionally, in the
Function
declaration
field, enter the custom function declaration. By
default, the function declaration value is set for the Synchronize
ServiceNow Incidents with Jira Issues recipe and Update Amazon Bedrock
Knowledge Base recipe in the
Prepare Default Function Declaration
step of the
Google Vertex Function Calling
process.
Select the function calling confirmation as
No
if you don't want to receive a summary of function call
response and omit confirmaton step before the function is executed. By
default, the function calling confirmation is selected as
Yes
.
Click
Continue
.
You will
receive a summary of the function call request in response if the function call
is generated. Otherwise, an error message appears.
Click
Confirm
to confirm the summary of
the function call response and make a call to the CAI process or click
Try
again
.
You will receive a response that contains the process call status,
the process execution status, and the process response.
If the process you are calling returns any
response, you will see the response on the Answer screen. However, if the process runs
for more than 59 seconds, you will see a message about the successful process call, but
the result can be viewed in Application Integration Console.
You can also use the embed code to embed the guide into an HTML document of a third-party application.