added parallel task examples

This commit is contained in:
Jason Schleifer
2025-03-05 05:43:35 +13:00
parent a894f0867e
commit b9d579d3e8
5 changed files with 17 additions and 3 deletions
+8
View File
@@ -14,6 +14,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
### Security -->
## [2.2.14] - 2025-01-05
### Added
- Added the ability to run a series of Prompt Tasks in parallel, greatly speeding up workflows where you want to pass a large list of strings to an Agent and get the response on each one.
- `Griptape Combine: String List` node takes multiple string inputs and outputs a list.
- `Griptape Run: Parallel Prompt Task` Takes an agent and a string list to run a Prompt Task on each item in the list.
- Added the [parallel_task_example.png](example_workflows/parallel_task_example.png)
![parallel_task_example](example_workflows/parallel_task_example.jpg)
## [2.2.13] - 2025-01-05
### Fixed
- Something changed in how ComfyUI was handling STRING inputs which caused the `Griptape Combine: Merge Text` node to break. Modified the input to handle * instead of only STRING, which fixes it.
+7 -1
View File
@@ -68,4 +68,10 @@ With the `Griptape Code: Run Python` node, you can use generic Python code to wo
![alt text](../docs/images/run_python_nodes.png)
![Run Python](sort_list_with_python_code.png)
Download: [sort_list_with_python_code.png](sort_list_with_python_code.png)
Download: [sort_list_with_python_code.png](sort_list_with_python_code.png)
## Parallel Task Example
Allows you to run multiple prompts in parallel, giving a massive speed boost when getting an agent to give feedback on multiple strings.
![parallel prompt](parallel_task_example.jpg)
Download: [parallel_task_example.png](parallel_task_example.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 KiB

+2 -2
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "comfyui-griptape"
version = "2.2.13"
version = "2.2.14"
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
authors = ["Jason Schleifer <jason.schleifer@gmail.com>"]
readme = "README.md"
@@ -9,7 +9,7 @@ readme = "README.md"
[project]
name = "comfyui-griptape"
description = "Griptape LLM(Large Language Model) Nodes for ComfyUI."
version = "2.2.13"
version = "2.2.14"
license = {file = "LICENSE"}
dependencies = ["attrs>=24.3.0,<26.0.0", "openai>=1.58.1,<2.0.0", "griptape[all]>=1.4.0", "python-dotenv", "poetry==1.8.5", "griptape-black-forest @ git+https://github.com/griptape-ai/griptape-black-forest.git", "griptape_serper_driver_extension @ git+https://github.com/mertdeveci5/griptape-serper-driver-extension.git"]