Tools
Adapted from the Griptape AI Framework documentation.
You can host your Gen AI Builder SDK Tools on Gen AI Builder. This allows you to run your Tools without needing to manage infrastructure.
Create a Tool from a GitHub Repo
- Connect Your GitHub Account in your Gen AI Builder account
- Install the Gen AI Builder GitHub app to your GitHub account or organization
- Be sure to allow the app access to
All Repositories
or select the specific repositories you need
- Be sure to allow the app access to
- Ensure your repository has a Tool Config YAML file
- To learn more see Tool Config YAML
You can now create a Tool in the Gen AI Builder console by providing your GitHub repository information.
Create a Tool from a ZIP file
- Ensure your Tool folder has a Tool Config YAML file
- To learn more see Tool Config YAML
- Create a functional Python venv in your Tool folder
- Populating your virtual environment with your Tool's Python dependencies can be done using pip
- Compress the entire Tool folder into a ZIP file
- On Mac and Linux systems, this can be done with the 'zip' CLI command
- On Windows systems, this can be done with the 'tar.exe' PowerShell command
- Upload the created ZIP file to a Data Lake Bucket and note the Asset Name
You can now create a Tool in the Gen AI Builder console by providing your Bucket and Asset Name from above.
Quickstart With Samples and Templates
To get started with Tools in the Cloud, deploy one of the griptape-sample-tools from GitHub.
Could this page be better? Report a problem or suggest an addition!