Input - Skill input type.Output - Skill output type.public interface TemplateFactory<Input,Output>
| Modifier and Type | Method and Description |
|---|---|
Output |
processTemplate(String responseTemplateName,
Map<String,Object> dataMap,
Input input)
Process response template and data to generate skill response.
|
Output processTemplate(String responseTemplateName, Map<String,Object> dataMap, Input input) throws TemplateFactoryException
responseTemplateName - template namedataMap - map that contains template injecting datainput - skill request inputTemplateFactoryException - if fail to process templateCopyright © 2023. All rights reserved.