Releases: griptape-ai/griptape
Releases · griptape-ai/griptape
v1.1.3
v1.1.2
Fixed
- Occasional crash during
FuturesExecutorMixin
cleanup. BaseChunker
chunking more than necessary.BaseLoader.reference
not being set when usingBaseLoader.parse
directly.LocalVectorStoreDriver
returned Entries not containing the namespace.- References being lost on Artifacts during chunking.
v1.1.1
Fixed
- Incorrect deprecation warning on
ToolkitTask
.
v1.1.0
Added
PromptTask.conversation_memory
for setting the Conversation Memory on a Prompt Task.Structure.conversation_memory_strategy
for setting whether Conversation Memory Runs should be created on a per-Structure or per-Task basis. Default isper_structure
.Structure.conversation_memory_strategy
for setting whether Conversation Memory Runs should be created on a per-Structure or per-Task basis. Default isStructure.ConversationMemoryStrategy.PER_STRUCTURE
.BranchTask
for selecting which Tasks (if any) to run based on a condition.- Support for
BranchTask
inStructureVisualizer
. EvalEngine
for evaluating the performance of an LLM's output against a given input.BaseFileLoader.save()
method for saving an Artifact to a destination.Structure.run_stream()
for streaming Events from a Structure as an iterator.- Support for
GenericMessageContent
inAnthropicPromptDriver
andAmazonBedrockPromptDriver
. - Validators to
Agent
initialization.
Changed
- Rulesets can now be serialized and deserialized.
ToolkitTask
now serializes itstools
field.PromptTask.prompt_driver
is now serialized.PromptTask
can now do everything aToolkitTask
can do.- Loosten
numpy
s version constraint to>=1.26.4,<3
.
Fixed
- Exception when calling
Structure.to_json()
after it has run. Agent
unintentionally modifyingstream
for all Prompt Drivers.StructureVisualizer.base_url
for setting the base URL on the url generated byStructureVisualizer.to_url()
.StructureVisualizer.query_params
for setting query parameters on the url generated byStructureVisualizer.to_url()
.- Parsing
ActionCallDeltaMessageContent
s with empty stringpartial_input
s. Stream
util not properly propagating thread contextvars.ValueError
withDuckDuckGoWebSearchDriver
.Agent.stream
overridingAgent.prompt_driver.stream
even whenAgent.prompt_driver
is explicitly provided.
Deprecated
- Soft deprecated
ToolkitTask
.PromptTask
is a drop-in replacement.
v1.0.2
Fixed
- Exception when calling
Structure.to_json()
after it has run. Agent
unintentionally modifyingstream
for all Prompt Drivers.StructureVisualizer.base_url
for setting the base URL on the url generated byStructureVisualizer.to_url()
.StructureVisualizer.query_params
for setting query parameters on the url generated byStructureVisualizer.to_url()
.- Parsing
ActionCallDeltaMessageContent
s with empty stringpartial_input
s.
v1.0.1
Fixed
- Prompt Driver image input doc example not rendering
v1.0.0
Added
TrafilaturaWebScraperDriver.no_ssl
parameter to disable SSL verification. Defaults toFalse
.CsvExtractionEngine.format_header
parameter to format the header row.PromptStack.from_artifact
factory method for creating a Prompt Stack with a user message from an Artifact.OpenAiChatPromptDriver.parallel_tool_calls
parameter for toggling parallel tool calling. Defaults toTrue
.AssistantTask
for running Assistants in Structures.GriptapeCloudAssistantDriver
for interacting with Griptape Cloud's Assistant API.OpenAiAssistantDriver
for interacting with OpenAI's Assistant API.GriptapeCloudToolTool
for running Griptape Cloud hosted Tools.JsonLoader
for loading and parsing JSON files.StructureVisualizer.build_node_id
field for customizing the node ID.- Support for Python
3.13
.
Changed
- BREAKING: Removed
stringcase
anddocker
from core dependencies.ComputerTool
will now install these on the fly. - BREAKING: Renamed
BaseTask.State.EXECUTING
toBaseTask.State.RUNNING
. - BREAKING: Renamed
BaseTask.is_executing()
toBaseTask.is_running()
. - BREAKING: Renamed
Structure.is_executing()
toStructure.is_running()
. - BREAKING: Removed ability to pass bytes to
BaseFileLoader.fetch
. - BREAKING: Updated
CsvExtractionEngine.format_row
to format rows as comma-separated values instead of newline-separated key-value pairs. - BREAKING: Removed all
ImageQueryDriver
s, usePromptDriver
s instead. - BREAKING: Removed
ImageQueryTask
, usePromptTask
instead. - BREAKING: Updated
ImageQueryTool.image_query_driver
toImageQueryTool.prompt_driver
. - BREAKING: Updated
numpy
to~2.0.2
andpandas
to^2.2
. - BREAKING: Renamed
StructureRunTask.driver
toStructureRunTask.structure_run_driver
. - BREAKING: Renamed
StructureRunTool.driver
toStructureRunTool.structure_run_driver
. - BREAKING: Moved the following Google Tools to the Griptape Google Extension:
GoogleCalendarTool
GoogleDocsTool
GoogleDriveTool
GoogleGmailTool
- BREAKING: Moved the following AWS Tools to the Griptape AWS Extension:
AwsCliTool
AwsIamTool
AwsPricingTool
AwsS3Tool
- BREAKING: Moved the
OpenWeatherTool
to the Griptape Open Weather Extension - BREAKING: Removed
GriptapeCloudKnowledgeBaseTool
. Use a RAG Engine withGriptapeCloudVectorStoreDriver
instead. - BREAKING: Removed redundant Engines, use their respective Drivers instead.
- Removed
ImageQueryEngine
, useImageQueryDriver
s instead. - Removed
InpaintingImageGenerationEngine
, useImageGenerationDriver
s instead. - Removed
OutpaintingImageGenerationEngine
, useImageGenerationDriver
s instead. - Removed
VariationImageGenerationEngine
, useImageGenerationDriver
s instead. - Removed
PromptImageGenerationEngine
, useImageGenerationDriver
s instead. - Removed
ImageGenerationEngine
, useImageGenerationDriver
s instead. - Removed
AudioTranscriptionEngine
, useAudioTranscriptionDriver
s instead. - Removed
TextToSpeechEngine
, useTextToSpeechDriver
s instead.
- Removed
- BREAKING: Tools that previously took Engines now take their respective Drivers.
- Updated
AudioTranscriptionTool.engine
toAudioTranscriptionTool.audio_transcription_driver
. - Updated
TextToSpeechTool.engine
toTextToSpeechTool.text_to_speech_driver
. - Updated
ImageQueryTool.image_query_engine
toImageQueryTool.image_query_driver
. - Updated
InpaintingImageGenerationTool.engine
toInpaintingImageGenerationTool.image_generation_driver
. - Updated
OutpaintingImageGenerationTool.engine
toOutpaintingImageGenerationTool.image_generation_driver
. - Updated
VariationImageGenerationTool.engine
toVariationImageGenerationTool.image_generation_driver
. - Updated
PromptImageGenerationTool.engine
toPromptImageGenerationTool.image_generation_driver
.
- Updated
- BREAKING: Tasks that previously took Engines now take their respective Drivers.
- Updated
AudioTranscriptionTask.audio_transcription_engine
toAudioTranscriptionTask.audio_transcription_driver
. - Updated
TextToSpeechTask.text_to_speech_engine
toTextToSpeechTask.text_to_speech_driver
. - Updated
ImageQueryTask.image_query_engine
toImageQueryTask.image_query_driver
. - Updated
InpaintingImageGenerationTask.image_query_engine
toInpaintingImageGenerationTask.image_generation_driver
. - Updated
OutpaintingImageGenerationTask.image_query_engine
toOutpaintingImageGenerationTask.image_generation_driver
. - Updated
VariationImageGenerationTask.image_query_engine
toVariationImageGenerationTask.image_generation_driver
. - Updated
PromptImageGenerationTask.image_query_engine
toPromptImageGenerationTask.image_generation_driver
.
- Updated
- BREAKING: Renamed
BaseImageGenerationTask.all_negative_rulesets
toBaseImageGenerationTask.negative_rulesets
. - File Manager Driver path logic has been improved.
LocalFileManagerDriver.workdir
can now be a relative path or absolute path. Relative paths will be prefixed with the current working directory.AmazonS3FileManagerDriver.workdir
can now be a relative path or absolute path. Relative paths will be prefixed with/
.GriptapeCloudFileManagerDriver.workdir
can now be a relative path or absolute path. Relative paths will be prefixed with/
.- Paths passed to
LocalFileManagerDriver
can now be relative or absolute. Absolute paths will be used as-is.
BasePromptDriver.run
can now accept an Artifact in addition to a Prompt Stack.- Improved
CsvExtractionEngine
prompts. - Tweaked
PromptResponseRagModule
system prompt to yield answers more consistently. - Removed
azure-core
andazure-storage-blob
dependencies. GriptapeCloudFileManagerDriver
no longer requiresdrivers-file-manager-griptape-cloud
extra.TrafilaturaWebScraperDriver
no longer setsno_ssl
toTrue
by default.AmazonBedrockPromptDriver
not working without settingmax_tokens
.BaseImageGenerationTask
no longer prevents settingnegative_rulesets
andnegative_rules
at the same time.StructureVisualizer
now rendersStructureRunTask
s with aLocalStructureRunDriver
.StructureVisualizer
to titlecase the node IDs to avoid Mermaid.js reserved keywords.- Updated Tokenizer model-to-max tokens lookup logic for more flexible matching.
BaseTool
now logs Tool activity exceptions after catching them.BaseTool
now deep copies activity params.
Fixed
- Use of deprecated
pkg_resources
inBaseTool
. - Error when serializing
JsonArtifact
s. GriptapeCloudVectorStoreDriver
not pullingapi_key
fromGT_CLOUD_API_KEY
environment variable.MarqoVectorStoreDriver.query
failing wheninclude_metadata
isTrue
.with_contextvars
not properly wrapping functions in some cases.- Crash when calling
ToolkitTask.run()
directly. @activity
decorator overwriting injected kwargs with default values asNone
.- Multiple calls to
RuleMixin.rulesets
resulting in duplicate Rulesets. BaseTool
incorrectly checking for empty values.
v0.34.3
Fixed
ActionsSubtask.before_run
andActionsSubtask.after_run
being called twice inToolkitTask
andTooltask
.
v0.34.2
Fixed
- Restore human-friendly default
ImageArtifact
andAudioArtifact
names with file type extension.
Full Changelog: 0.34.1...0.34.2