Skip to content

Releases: griptape-ai/griptape

v0.18.2

10 Oct 16:54
Compare
Choose a tag to compare

🔧 Improvements

  • Updated snowflake-connector-python dependency that was causing issues in Python 3.11.

v0.18.1

06 Oct 20:28
Compare
Choose a tag to compare

🔧 Improvements

  • Fixed prompt driver propagation to tool memory defaults in Structures.
  • Removed engine defaults in TextToolMemory.
  • Improved test coverage.

v0.18.0

06 Oct 17:29
Compare
Choose a tag to compare

🆕 New Features

  • Added new embedding driver for Amazon Bedrock: BedrockTitanEmbeddingDriver.
  • Added new prompt driver for Amazon Bedrock: AmazonBedrockPromptDriver.
  • Added new Amazon Bedrock prompt models: BedrockClaudePromptModelDriver, and BedrockJurassicPromptModelDriver, BedrockTitanPromptModelDriver.
  • Added new Amazon Bedrock tokenizers: BedrockClaudeTokenizer, BedrockJurassicTokenizer, and BedrockTitanTokenizer.
  • Added ignored_exception_types to ExponentialBackoffMixin to ignore certain failures and not retry.
  • Added extraction engines for extracting data into JSON objects and CSV rows: JsonExtractionEngine and CsvExtractionEngine.
  • Added ExtractionTask to integrate extraction engines into workflows and pipelines.
  • Added the GoogleDriveClient tool to access and search files in Google Drive.
  • Added the GoogleDocsClient tool to access and edit Google Docs documents.
  • Added PgVectorVectorStoreDriver to store and retrieve embeddings in Postgres.

🔧 Improvements

  • Added InvalidRequestError to ignored_exception_types in OpenAI drivers.
  • Updated all relevant tools to use Griptape loaders.
  • Abstracted TextToolMemory and ToolOutputProcessor activities into TextMemoryActivitiesMixin.
  • Updated the Calculator tool to use numexpr to improve security.
  • Improved base prompts.
  • Updated GoogleCalendarClient and GoogleGmailClient to support the owner_email property.
  • Fixed OpenAI GPT-4 throttling issues in prompt drivers.

v0.17.1

18 Sep 17:24
Compare
Choose a tag to compare

🔧 Improvements

  • v0.17.0 didn't include the task and structure-level rules PR, even though the release notes mentioned it. v0.17.1 now includes that PR.

v0.17.0

18 Sep 03:16
Compare
Choose a tag to compare

🚨 Breaking Changes

  • Removed schema_template_args in all tools. The tool instance can now be accessed directly via {{ _self }} in Jinja activity description templates.

🆕 New Features

  • Added FileLoader to load arbitrary files into artifacts.
  • Added DataFrameLoader to load Pandas DataFrames into artifacts.
  • Added task-level Rulesets for more precise LLM steering inside structures.
  • Added the ability to optionally specify Rules in place of structure and task-level Rulesets. This is useful when the user only needs one set of rules per task/structure.
  • Added the ability to let the LLM load content directly (not just from memory) into FileManager and AwsS3Client tools.
  • Added the ability to map custom loaders based on loaded file extensions in FileManager.
  • Added enable_activities() and disable_activities() to ActivityMixin to quickly enable or disable all activities.

🔧 Improvements

  • Added BaseMultiModelPromptDriver to better abstract driver methods relevant to handling LLM hosting platforms such as Amazon SageMaker and Hugging Face.
  • Added a default Structure.embedding_driver that automatically propagates down to relevant default dependencies.
  • Added the ability to specify output file encoding in FileManager.
  • Improved action matching in ActionSubtask to handle cases where the LLM wraps action output into markdown or prepends it with extra text.

v0.16.2

07 Sep 21:27
Compare
Choose a tag to compare

🔧 Improvements

  • Update transformers version in pyproject.toml.
  • Update all dependencies in poetry.lock.

v0.16.1

07 Sep 16:21
Compare
Choose a tag to compare

🔧 Improvements

  • Fixed an issue where some tasks didn't output logs.
  • Added task type to the log output.

v0.16.0

06 Sep 23:55
Compare
Choose a tag to compare

🆕 New Features

  • Added AmazonSageMakerPromptDriver to easily connect open source SageMaker-hosted LLMs.
  • Introduced prompt model drivers that abstract input, output, and tokenization for hosted models. In this release we added support for:
    • Llama models with SageMakerLlamaPromptModelDriver.
    • Falcon models with SageMakerFalconPromptModelDriver.
  • Added `OpenSearchVectorDriver to integrate OpenSearch vector store and querying capabilities.
  • AddedAmazonOpenSearchVectorDriver to support hosted OpenSearch.
  • Added TextSummaryTask for quick text summarization in Griptape structures.
  • Added ToolTask that allows developers to integrate any tools as a task without having to use chain-of-thought.
  • Added TextQueryTask for text querying in Griptape structures.
  • Added CsvLoader for loading and pre-processing CSV files.

🔧 Improvements

  • Merged the core namespace into utils and moved all mixins into a separate mixins namespace.
  • Multiple bug fixes.

v0.15.3

25 Aug 20:38
Compare
Choose a tag to compare

🔧 Improvements

  • Fixed VectorQueryEngine bugs and made search results more consistent.

v0.15.2

25 Aug 20:37
Compare
Choose a tag to compare

🔧 Improvements

  • Updated CoT memory prompt for greater consistency and reliability.