Action Groups
Action Groups are a integral part of Amorphic AI Agents. They are the set of tools/APIs available for agents to perform specific tasks. Action Groups are responsible for the actual action taken. It contains the API definition and the business logic to be executed. Action groups can be attached to an Agent to perform specific tasks.
Action Group Operations
Below are the operations that can be performed on Action Groups:
- Create Action Group: Create a new Action Group
- Update Action Group: Update an existing Action Group
- Download Action Group logs: Download the execution logs of the Action Group lambda
- Delete Action Group: Delete an existing Action Group
Create an Action Group
- Select the
Action Groups
tab from the top navigation panel and click on+ New Action Group
- Fill in the required fields (details listed below) and click on
Create Action Group
button.
Following fields are needed to create an Action Group:
Properties | Details |
---|---|
Action Group Name | A name for the Action Group. This should be unique across the platform. |
Description | Description of the Action Group being created. |
Upload API Definition | The API's defined for the Action Group. Only .json files are accepeted for this field. |
Upload Lambda Code | The business logic that the Action Group is designed to perform. Only .zip files are accepeted for this field. |
Lambda Handler | The lambda handler method for the Action Group lambda. |
Attached Libraries | Optionally the user can also add created Agent Libraries to work with the Action Group lambda. |
Below image shows how to create a new Action Group:
Update Action Group
- Select the Action Group user wants to edit and click on the
Configuration
tab. - Click on the edit icon in the Metadata section and update the required details then click on
Update Action Group
button.
Below image shows edit an Action Group:
Action group creation/updation happens in the background once triggered, and may take some time to complete.
Download Action Group logs
Users will now be able to download the execution logs of the Action Group lambda for debugging. Start Time and End Time are expected as inputs from the user.
Below image shows how to download Action Group logs:
Delete an Action Group
- Select the Action Group that user wants to delete and go to
Configuration
tab. - Click on the delete icon in the Metadata section and click on the Delete Action Group button to confirm the deletion.
Below image shows how to delete an Action Group:
Action group deletion is only possible if there are no existing Agents associated with that Action Group.
Prebaked Action Groups
These are system generated action groups that are provided out-of-the-box for users to consume. These action groups also serve as references for users to build on top of. Users can consume from these action groups by creating an agent and attaching these action groups to the agent.
Users are not permitted to edit or delete these action groups. However, downloading the definition files (lambda and api) and view the lambda logs for these action groups is allowed.
Currently we provide two prebaked action groups :
-
DatasetOperation : This action group is designed to perform operations on top of Amorphic datasets that the user has access to. User can ask for actions such as list all datasets, and its details and files inside them, create/clone a dataset and enable/disable/run dataprofiling job for a dataset.
-
EtlOperations : This action group is designed to perform operations on top of ETL components in Amorphic (ex : jobs). User can ask for actions like list details of ETL jobs the user has access to, run a job and list its executions.