Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions bot/actions/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion bot/credentials.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#telegram:
# telegram:
# access_token: ${TELEGRAM_TOKEN}
# verify: ${TELEGRAM_BOT_USERNAME}
# webhook_url: ${TELEGRAM_WEBHOOK}
Expand Down
13 changes: 12 additions & 1 deletion bot/data/nlu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)?
- 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
5 changes: 5 additions & 0 deletions bot/data/stories.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 9 additions & 0 deletions bot/domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ intents:
- informar_nome
- casa_hogwarts
- fatos_sobre_gatos
- divas_pop
entities:
- religiao
- time
Expand Down Expand Up @@ -266,13 +267,21 @@ 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
- action_telefone
- action_pedir_conselho
- action_sorting_hat
- action_cat_facts
- action_divas_pop

forms:
- login_form