Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Updates hello world counter example
elijahbenizzya5e7c634cefb
diff --git a/examples/hello-world-counter/application.py b/examples/hello-world-counter/application.pyindex ee360b8d..7c07da1a 100644--- a/examples/hello-world-counter/application.py+++ b/examples/hello-world-counter/application.py@@ -51,8 +51,10 @@ def application(if __name__ == "__main__":- logging.basicConfig(level=logging.DEBUG)+ logging.basicConfig(level=logging.INFO)app = application(app_id="a7c8e525-58f9-4e84-b4b3-f5b80b5b0d0e")action, result, state = app.run(halt_after=["result"])- # app.visualize(output_file_path="digraph", include_conditions=True, view=False, format="png")+ app.visualize(+ output_file_path="statemachine.png", include_conditions=True, view=False, format="png"+ )print(state["counter"])diff --git a/examples/hello-world-counter/statemachine.png b/examples/hello-world-counter/statemachine.pngindex 58fffd63..93309cbb 100644Binary files a/examples/hello-world-counter/statemachine.png and b/examples/hello-world-counter/statemachine.png differ