def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: filmgenre = tracker.get_slot("filmgenre") query = "Фильмы жанра " + filmgenre dispatcher.utter_message(question_answering_pipeline(query))
def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: bookgenre = tracker.get_slot("bookgenre") query = "Книги про " + bookgenre dispatcher.utter_message(question_answering_pipeline(query))
def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: query = "Русские сказки" dispatcher.utter_message(question_answering_pipeline(query))
def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: text = tracker.get_slot("musicgenre") query = "Музыка " + text dispatcher.utter_message(question_answering_pipeline(query))
def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: text = tracker.get_slot("user_lovely_food") query = "Интересные факты про " + text dispatcher.utter_message(question_answering_pipeline(query))
def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: query = tracker.latest_message.get('text') dispatcher.utter_message(question_answering_pipeline(query))
def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: query = tracker.get_slot("cooking") dispatcher.utter_message(question_answering_pipeline(query))