-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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: Bug: The provided example is incorrect #11459
Comments
I guess the correct example should be like this
|
Feel free to make a PR with a fix, @qqq694637644. We haven't completed the actual work to handle state with processes (where they can be serialized and deserialized), which is why you'll probably see some "thin" handling of state right now. But if there are other actual fixes, please do go ahead and make a PR. We'd appreciate the contributions. Thanks. |
Okay, I'll submit a PR later. May I ask if you'll consider adding a flowchart feature similar to LangGraph in processBuild in the future? Writing the ProcessBuild process is too mentally taxing. |
Thank you for the feedback. We are working on a declarative spec that will allow one to create a process in a “no code/low code” way, potentially similar to what you referenced for LG. |
https://github.com/microsoft/semantic-kernel/blob/main/python/samples/getting_started_with_processes/step03/step03a_food_preparation.py
The shared and non - shared stateful ones you provided
All are non - shared and stateful
The two functions are exactly the same. You made a mistake. I almost thought I was seeing things.
This is the result of the comparison by Beyond Compare
function
async def use_prepare_stateful_fried_fish_process_no_shared_state():
function
async def use_prepare_stateful_fried_fish_process_shared_state():
function

async def use_prepare_stateful_potato_fries_process_shared_state():
The text was updated successfully, but these errors were encountered: