diff --git a/CHANGELOG.md b/CHANGELOG.md index 65d5210..98334ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### Security --> +## [2.0.16] - 2025-02-01 +### Added +- [Example](examples/README.md#sorting-a-csv---by-using-generic-python) for using the `Griptape Code: Run Python` node. + ![](examples/sort_list_with_python_code.png) +### Fixed +- Templates not listed for `Griptape Code: Run Python` node. + ## [2.0.15] - 2025-02-01 ### Added - `Griptape Code: Run Griptape Cloud Structure` - Runs a structure from [Griptape Cloud Structures](https://cloud.griptape.ai/structures). Requres a `GRIPTAPE_CLOUD_API_KEY` and a `structure_id`. diff --git a/examples/README.md b/examples/README.md index 26ffc16..b66353f 100644 --- a/examples/README.md +++ b/examples/README.md @@ -60,4 +60,12 @@ Download: [OffPrompt.json](OffPromopt.json) Use Retrieval Augmented Generation to have more control over the data your agents can query. Check out this example which demonstrates multiple data sources, reranking results, and controlling the responses. ![RAG](retrieval_augmented_generation.png) -Download: [retrieval_augmented_generation.json](retrieval_augmented_generation.json) \ No newline at end of file +Download: [retrieval_augmented_generation.json](retrieval_augmented_generation.json) + +## Sorting a CSV - by using generic Python! +With the `Griptape Code: Run Python` node, you can use generic Python code to work with data. This node requires turning on the `Enable Griptape Code: Run Python Nodes` setting to be enabled. + +![alt text](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 diff --git a/examples/run_python_nodes.png b/examples/run_python_nodes.png new file mode 100644 index 0000000..fd0e321 Binary files /dev/null and b/examples/run_python_nodes.png differ diff --git a/examples/sort_list_with_python_code.png b/examples/sort_list_with_python_code.png new file mode 100644 index 0000000..4f34aac Binary files /dev/null and b/examples/sort_list_with_python_code.png differ diff --git a/pyproject.toml b/pyproject.toml index a87c8e5..4d52ca1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "comfyui-griptape" -version = "2.0.15" +version = "2.0.16" 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.0.15" +version = "2.0.16" license = {file = "LICENSE"} dependencies = ["griptape[all]==^1.0.2", "python-dotenv", "poetry==1.8.4", "griptape-black-forest @ git+https://github.com/griptape-ai/griptape-black-forest.git"]