.Net: Bug: Activating ProcessStep function does not work if multiple functions implemented
Hi all,
I'm using the C# process framework. Have implemented a ProcessStep class, which has two functions. Getting the following error:
I have activated the function by specifying the name:
How to repro?
Implement a class with two functions:
Please provide the complete code
I guess the OnFunctionResult method did not pass in the specified functionName https://github.com/microsoft/semantic-kernel/blob/main/dotnet/src/Experimental/Process.Core/ProcessStepBuilder.cs#L53
I'm not sure about OnFunctionResult. I'm invoking the function on the input event.
Hope this helps.
I'm not sure about OnFunctionResult. I'm invoking the function on the input event.
Hope this helps.
Whatever the right event might be, the framework MUST NOT THROW in this case. The argument functionName specifies the function which should be invoked. @feiyun0112 I'm not looking for a workaround, which might be a different event or simply commenting out the second function.
I guess this is the bug, which needs to be fixed or some special feature, who knows.