1. Setup - Rasa
- Configure o
credentials.yml
de acordo com o bot criado no passo 2.3rocketchat: user: "rasa_bot" password: "rasa_bot" server_url: "http://rocketchat:3000"
- Configure o
endpoints.yml
de acordo com seu ambiente# Configuração para ambiente docker action_endpoint: url: "http://actions:5055/webhook" # Configuração para ambiente local action_endpoint: url: "http://localhost:5055/webhook"
2. Setup - Rocket.Chat
-
Subindo os containers
docker-compose up -d mongo docker-compose up -d mongo-init-replica docker-compose up -d rocketchat
-
Acessando os logs
docker-compose logs -f mongo docker-compose logs -f rocketchat
Acesse http://localhost:3000/
Username: boss
Password: boss
Server Mode: Standalone
Siga Administration > Users > + New.
Name: Rasa Chatbot
Username: rasa_bot
Email: rasa_bot@email.com
Password: rasa_bot
Roles: bot
Ou execute o script.
python3 scripts/config_env.py
Funcionalidades do script:
- Configurar Bot
- Configurar Livechat
- Configurar Departamento Padrão
Siga Administration > Integrations > + New > Outgoing.
Event Trigger: Message Sent
Enabled: true
Name: Rasa WebHook
Channel: #general
URLs: http://bot:5005/webhooks/rocketchat/webhook
Post as: rasa_bot
Siga Advanced Settings.
Retry Failed Url Calls: false
Para acessar informações adicionais como, execução dos scripts e deploy na plataforma Okteto, clique nos seguintes links ou acesse a pasta chamada "docs"