Build event-driven workflows with Python async functions
Build event-driven workflows with Python async functions
I noticed the new feature of llama-index: the event-driven workflow[1], which allows for building agents based on LLMs. I think the concept of an event-driven workflow is cool, but I don't find the way llama-index implements it to be intuitive. Therefore, I wrote a simple prototype to demonstrate what I believe is the correct approach. It supports the following features with just a few lines of code: - Multi-Recv: it supports an event to listen on a group of other events(or self), and triggered only when the group of events produced the results - Parallel Execution: using python event loop - Dynamic dispatch: it's a cool feature I think. You can use signals like goto or abort to change the event's return behaviors. [1]: https://www.llamaindex.ai/blog/introducing-workflows-beta-a-...
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Untwisted Supersockets and event-driven with asyncronicity in Python
(Untwisted) A naive approach to event driven paradigm in Python
Comfy Nodekit – build/serialize ComfyUI workflows in Python
(Untwisted) an event driven framework in python
AutoKitteh, Durable Workflows in Python
Durable Python Workflows
BrachioGraph, an easy-to-build pen-plotter, driven by Python
Show HN; (untwisted) a powerful event-driven framework in python
Eventkit, event-driven data pipelines for Python
A minimalist event driven framework for python.