This template is a starting point for creating a Structure with Griptape Cloud Managed Structures. It provides a basic project layout for creating a Managed Structure, but you can customize it to fit your needs.
See the Griptape CLI instructions for how to get started with this template.
The template provides the following project layout:
structure/structure.py
Contains the Managed Structure code.structure/requirements.txt
Contains the dependencies for the Managed Structure. These will be automatically installed when the Structure is registered with Skatepark.example-client/client.py
Contains an example client that uses the Managed Structure's API. This is useful for testing your Managed Structure locally but ultimately you will want to integrate your Managed Structure with your own application.example-client/pyproject.toml
Contains the dependencies for the example client. Poetry is only used for the example client and is not used by the Managed Structure itself.
To sync your project with the latest changes from this template, you can run the following command:
- Add the template repository as a remote:
git remote add upstream https://github.com/griptape-ai/managed-structure-template.git
- Fetch the latest changes from the template repository:
git fetch upstream
- Merge the changes into your project:
git merge upstream/main --allow-unrelated-histories