You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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 is per_structure.
Structure.conversation_memory_strategy for setting whether Conversation Memory Runs should be created on a per-Structure or per-Task basis. Default is Structure.ConversationMemoryStrategy.PER_STRUCTURE.
BranchTask for selecting which Tasks (if any) to run based on a condition.
Support for BranchTask in StructureVisualizer.
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 in AnthropicPromptDriver and AmazonBedrockPromptDriver.
Validators to Agent initialization.
Changed
Rulesets can now be serialized and deserialized.
ToolkitTask now serializes its tools field.
PromptTask.prompt_driver is now serialized.
PromptTask can now do everything a ToolkitTask can do.
Loosten numpys version constraint to >=1.26.4,<3.
Fixed
Exception when calling Structure.to_json() after it has run.
Agent unintentionally modifying stream for all Prompt Drivers.
StructureVisualizer.base_url for setting the base URL on the url generated by StructureVisualizer.to_url().
StructureVisualizer.query_params for setting query parameters on the url generated by StructureVisualizer.to_url().
Parsing ActionCallDeltaMessageContents with empty string partial_inputs.
Stream util not properly propagating thread contextvars.
ValueError with DuckDuckGoWebSearchDriver.
Agent.stream overriding Agent.prompt_driver.stream even when Agent.prompt_driver is explicitly provided.
Deprecated
Soft deprecated ToolkitTask. PromptTask is a drop-in replacement.