Griptape Updates 2023-05-11

πŸŽ‰ griptape 0.8 and griptape-tools 0.10 are out with new tools and capabilities!

With this update, we aimed to stabilize framework APIs as much as possible, so that we can develop new functionality without any breaking changes faster.

The focus of this release was storage rampsβ€”dynamic tool wrappers that enable LLMs to pass external data between tools, without the LLM ever loading it into the prompt.

We also introduced several new tools: TextProcessor, FileManager, PdfReader, and RestApi.

All Changes

  • πŸ†• Added TextStorageRamp and BlobStorageRamp, as well as in-memory storage drivers.
  • πŸ†• Added BlobArtifact and ListArtifact to represent different types of data passed by tools.
  • πŸ†• Added allowlist and denylist to tool and ramp activities. Useful for limiting which activities are exposed to the LLM.
  • πŸ†• Added RuleSets to group LLM rules. Useful for creating agent β€œpersonalities.”
  • πŸ†• Added shift and add operators to structures and tasks. (Thanks atcol!)
  • πŸ”§ New tool: TextProcessor, for summarizing and querying TextArtifacts.
  • πŸ”§ New tool: FileManager, for loading and storing BlobArtifacts.
  • πŸ”§ New tool: PdfReader, for loading PDFs into BlobArtifacts. (Thanks atcol!)
  • πŸ”§ New tool: RestApi, for making REST API requests. (Thanks collindutter!)
  • 🚨 Removed ToolLoader. Tools and executors can now be passed directly to the ToolkitStep.
  • 🚨 Removed serialization for structures.
  • 🐞 Multiple bug fixes.