Searched refs:rule_action (Results 1 – 2 of 2) sorted by relevance
623 std::unique_ptr<RulesModel_::RuleActionSpecT> rule_action( in TEST_F() local625 rule_action->action.reset(new ActionSuggestionSpecT); in TEST_F()626 rule_action->action->type = "text_reply"; in TEST_F()627 rule_action->action->response_text = "General Desaster!"; in TEST_F()628 rule_action->action->score = 1.0f; in TEST_F()629 rule_action->action->priority_score = 1.0f; in TEST_F()630 rule->actions.push_back(std::move(rule_action)); in TEST_F()633 std::unique_ptr<RulesModel_::RuleActionSpecT> rule_action( in TEST_F() local635 rule_action->action.reset(new ActionSuggestionSpecT); in TEST_F()636 rule_action->action->type = "text_reply"; in TEST_F()[all …]
207 for (const RulesModel_::RuleActionSpec* rule_action : in SuggestActions()209 const ActionSuggestionSpec* action = rule_action->action(); in SuggestActions()217 if (rule_action->capturing_group() != nullptr) { in SuggestActions()219 *rule_action->capturing_group()) { in SuggestActions()