Getting input into a process step #9395
Closed
listentorick
started this conversation in
General
Replies: 1 comment
-
So.. it was embarrassingly obvious.. The kernal has a service provider! Leaving the answer here for others.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like a "wait for user input step".
How can I pass data into a step independently of the process i.e. if the step exposed a method "AddUserMessage", how do I get hold of an instance of the step so I can send it a message?
Something like this:
` public class UserInputKernalProcessStep : KernelProcessStep
{
private TaskCompletionSource _userMessageTcs = new TaskCompletionSource();
}`
The reason I want to do this, is I'm building a conversational UI over this!
Beta Was this translation helpful? Give feedback.
All reactions