Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.64 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.64 KB

Managed Structure Template

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.

Project Structure

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.

Syncing with Upstream

To sync your project with the latest changes from this template, you can run the following command:

  1. Add the template repository as a remote:
git remote add upstream https://github.com/griptape-ai/managed-structure-template.git
  1. Fetch the latest changes from the template repository:
git fetch upstream 
  1. Merge the changes into your project:
git merge upstream/main --allow-unrelated-histories