diff --git a/bot/actions/actions.py b/bot/actions/actions.py index 26f8bc1e..a8e897e0 100644 --- a/bot/actions/actions.py +++ b/bot/actions/actions.py @@ -116,4 +116,13 @@ def run(self, dispatcher, tracker, domain): dispatcher.utter_message(ValueError) return [] +class ActionDivasPop(Action): + def name(self) -> Text: + return "action_divas_pop" + + def run(self, dispatcher, tracker, domain): + try: + dispatcher.utter_message("Oi, testando as divas pop...") + except ValueError: + dispatcher.utter_message(ValueError) \ No newline at end of file diff --git a/bot/credentials.yml b/bot/credentials.yml index 923995a4..12d91330 100644 --- a/bot/credentials.yml +++ b/bot/credentials.yml @@ -1,4 +1,4 @@ -#telegram: +# telegram: # access_token: ${TELEGRAM_TOKEN} # verify: ${TELEGRAM_BOT_USERNAME} # webhook_url: ${TELEGRAM_WEBHOOK} diff --git a/bot/data/nlu.md b/bot/data/nlu.md index d12105b9..bc9ea762 100644 --- a/bot/data/nlu.md +++ b/bot/data/nlu.md @@ -551,4 +551,15 @@ - Um fato de [gatinhos](gato) - Quero saber algo dos [gatos](gato) - O que voce sabe sobre [gatinho](gato?) -- o que vc sabe sobre [gatos](gato)? \ No newline at end of file +- o que vc sabe sobre [gatos](gato)? + +## intent:divas_pop +- Me fale sobre divas pop +- Quero saber sobre divas pop +- O que voce sabe sobre divas pop +- Vc quer conversar sobre divas pop +- voce quer conversar sobre divas pop +- Me fale sobre novidades do mundo pop +- Quero saber tudo sobre divas pop +- novidades divas pop +- novidades do mundo pop \ No newline at end of file diff --git a/bot/data/stories.md b/bot/data/stories.md index 2a1fdfba..ffdfd27a 100644 --- a/bot/data/stories.md +++ b/bot/data/stories.md @@ -378,3 +378,8 @@ * fatos_sobre_gatos - utter_fato_sobre_gatos - action_cat_facts + +## fatos_divas_pop +* divas_pop + - utter_divas_pop + - action_divas_pop \ No newline at end of file diff --git a/bot/domain.yml b/bot/domain.yml index d6c94d16..1192e00a 100644 --- a/bot/domain.yml +++ b/bot/domain.yml @@ -43,6 +43,7 @@ intents: - informar_nome - casa_hogwarts - fatos_sobre_gatos +- divas_pop entities: - religiao - time @@ -266,6 +267,13 @@ responses: - text: Aqui vai um fato sobre gato... - text: Uma coisa legal sobre gatos... - text: Um fato sobre gatinhos... + utter_divas_pop: + - text: A melhor diva pop eh a Madonna + - text: Sabia que a Beyonce juntamente com o Jay-Z derrubaram o aviao da Ashanti + - text: A Sia esta no cativeiro da Beyonce + - text: A M.I.A infelizmente eh antivax + - text: o videoclipe de Bikini Porn da Tove Lo, foi inspirado na Andressa Urach + - text: Bebe Rexha eh conhecida no Brasil pelo cover de So da tu actions: - action_teste @@ -273,6 +281,7 @@ actions: - action_pedir_conselho - action_sorting_hat - action_cat_facts +- action_divas_pop forms: - login_form