Templates.ExpandTemplate(String, Object, EvaluationOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Expands a template with given name and scope. Return all possible responses instead of random one.
public System.Collections.Generic.IList<object> ExpandTemplate (string templateName, object scope = default, Microsoft.Bot.Builder.LanguageGeneration.EvaluationOptions opt = default);
member this.ExpandTemplate : string * obj * Microsoft.Bot.Builder.LanguageGeneration.EvaluationOptions -> System.Collections.Generic.IList<obj>
Public Function ExpandTemplate (templateName As String, Optional scope As Object = Nothing, Optional opt As EvaluationOptions = Nothing) As IList(Of Object)
Parameters
- templateName
- String
Template name to be evaluated.
- scope
- Object
State visible in the evaluation.
EvaluationOptions in expanding a template.
Returns
Expanded result.