BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

Language Generation CustomFunction Sample should show how to do async work.

Open johnataylor opened this issue 5 years ago • 0 comments

Language Generation uses Adaptive Expressions that can be extended with custom functions.

This is illustrated by this sample https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/language-generation/20.extending-with-custom-functions

However, such functions cannot be async. "This is actually by design since adaptive expressions are used to evaluate triggers. The thought was you should use actions to populate memory that you then can use in .lg."

This sample should be extended to illustrate this technique.

johnataylor avatar Jul 20 '20 23:07 johnataylor