-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python: Add the Python process framework #9363
Conversation
python/samples/getting_started_with_processes/step01_processes.py
Outdated
Show resolved
Hide resolved
python/samples/getting_started_with_processes/step01_processes.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first run through, looks pretty good but I would love if we can make things less verbose and easier to dev with!
python/semantic_kernel/processes/local_runtime/local_process.py
Outdated
Show resolved
Hide resolved
@moonbox3 this is super exciting, any thoughts on the implementation being abstracted enough to be able to use a non Dapr/Orleans workflow backend? For example Azure Pub/Sub + Functions or something equivilent (eg this sort of thing) |
python/samples/getting_started_with_processes/step01_processes.py
Outdated
Show resolved
Hide resolved
python/semantic_kernel/processes/kernel_process/kernel_process.py
Outdated
Show resolved
Hide resolved
Hi @rog555, we're already at a level of abstraction where it's pretty easy to BOYB (bring your own backend). This initial runtime, as you can see, is the local runtime. Dapr will come next. Once this framework is in main, we would love for you to experiment adding your own runtime/backend. |
Thanks, roughly when do you think 1.12.0 will be available in the wild - before or after ignite? 😃👍 |
Hi @rog555, definitely before! Trying to get 1.12.0 out this week, if possible. I need to add a few more samples and do some validations like running a process as a subprocess, but should be able to get that in by tomorrow/Thursday. |
Motivation and Context
An initial PR to add the foundational pieces of the Python Process framework, which holds it design to be similar to dotnet in that step types are added to a process builder, and later on, when the step is run, it is first instantiated and the proper state is provided.
Description
Adding the initial process framework components:
TODO
Contribution Checklist