Handle fulfillment of the action
When you configure the action group, you also select one of the following options for the agent to pass the information and parameters that it receives from the user:
-
Pass to a Lambda function that you create to define the business logic for the action group.
-
Skip using a Lambda function and return control by passing the information and parameters from the user in the
InvokeAgent
response. The information and parameters can be sent to your own systems to yield results and these results can be sent in the SessionState of another InvokeAgent request. -
Enable user confirmation for an action. Enabling user confirmation can safeguard your application from malicious prompt injections by requesting confirmation from your application users before invoking the action group function.
Select a topic to learn how to configure how fulfillment of the action group is handled after the necessary information has been elicited from the user.