public static List <Func <T, bool> > GenerateRules <T>(this List <Rule> rules) { return(RuleCompiler.CompileRules <T>(rules)); }
public Memory(ChatbotConfig cfg, ChatbotRuleConfig rules) { responses = RuleCompiler.CompileRules(rules.responseRules, cfg); }