diff --git a/CHANGELOG.md b/CHANGELOG.md index 95748d9..4549aa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/example_workflows/README.md b/example_workflows/README.md index 97a046b..37d6dbc 100644 --- a/example_workflows/README.md +++ b/example_workflows/README.md @@ -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) \ No newline at end of file +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) \ No newline at end of file diff --git a/example_workflows/parallel_task_example.jpg b/example_workflows/parallel_task_example.jpg new file mode 100644 index 0000000..15309b8 Binary files /dev/null and b/example_workflows/parallel_task_example.jpg differ diff --git a/example_workflows/parallel_task_example.png b/example_workflows/parallel_task_example.png new file mode 100644 index 0000000..0acdcee Binary files /dev/null and b/example_workflows/parallel_task_example.png differ diff --git a/pyproject.toml b/pyproject.toml index aa7d51d..d046107 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] 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"]