Griptape Updates 2023-06-30

🎉 griptape 0.12 and griptape-tools 0.14 are out with cool new features, bug fixes, and performance improvements!

🆕 New Features

  • Added metadata support to tool memory to provide more context for LLMs during memory querying.
  • Added prompt prefix and suffix to prompt drivers to better support different models.
  • Added events and event listeners to structures.
  • Parallelized embeddings generation in the VectorQueryEngine.
  • Added PromptSummaryEngine for flexible text summary generation.
  • Added text file loading support to the TextLoader.
  • Added the TokenCounter utility for easy prompt token counting.

🔧 New Tools

  • Added the DateTime tool that enables LLMs to get current date and time.

🚨 Breaking Changes

  • Removed PromptDriverSummarizer.
  • SummaryConversationMemory now takes a BasePromptDriver instead of a BaseSummarizer and uses PromptSummaryEngine for summarization.