-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from lappis-unb/devel
Atualização do Rasa para 1.2.2
- Loading branch information
Showing
16 changed files
with
197 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,36 @@ | ||
run-rocketchat: | ||
make config-bot | ||
python3 run-rocketchat.py | ||
python3 run_rocketchat.py | ||
|
||
run-telegram: | ||
python -m rasa_core.run -d /models/dialogue -u /models/nlu/current --port 5001 --credentials credentials.yml --endpoints endpoints.yml | ||
rasa run -m /models/dialogue --port 5001 --credentials credentials.yml \ | ||
--endpoints endpoints.yml | ||
|
||
config-rocket: | ||
python /scripts/bot_config.py | ||
|
||
run-console: | ||
python3 -m rasa_core.run -d /models/dialogue -u /models/nlu/current --debug | ||
rasa shell -m /models/dialogue -vv | ||
|
||
run-console-broker: | ||
python3 -m rasa_core.run -d /models/dialogue -u /models/nlu/current --debug --endpoints endpoints.yml | ||
rasa shell -m /models/dialogue -vv --endpoints endpoints.yml | ||
|
||
run-api: | ||
python3 -m rasa_core.run -d /models/dialogue -u /models/nlu/current \ | ||
--endpoints endpoints.yml --debug --enable_api | ||
|
||
evaluate: | ||
python3 -m rasa_core.evaluate -d /models/dialogue -s data/core/ | ||
rasa run -m /models/dialogue -vv --endpoints endpoints.yml --enable_api | ||
|
||
run-actions: | ||
python -m rasa_core_sdk.endpoint --actions actions | ||
rasa run actions --actions actions | ||
|
||
# Force Makefile to execute e2e command every time | ||
.PHONY: all e2e clean | ||
test-dialogue: | ||
make e2e | ||
|
||
e2e: | ||
python3 -m rasa_core.evaluate default --core /models/dialogue --nlu /models/nlu/current --stories e2e/e2e_stories.md --e2e | ||
|
||
test-stories: | ||
python3 test_stories.py --stories e2e/e2e_stories.md --e2e | ||
|
||
config-bot: | ||
python /scripts/bot_config.py -r ${ROCKETCHAT_URL} -an ${ROCKETCHAT_ADMIN_USERNAME} -ap ${ROCKETCHAT_ADMIN_PASSWORD} -bu ${ROCKETCHAT_BOT_USERNAME} -bp ${ROCKETCHAT_BOT_PASSWORD} | ||
#.PHONY: all e2e clean | ||
#test-dialogue: | ||
# make e2e | ||
# | ||
#e2e: | ||
# python3 -m rasa_core.evaluate default --core /models/dialogue --nlu /models/nlu/current --stories e2e/e2e_stories.md --e2e | ||
# | ||
#test-stories: | ||
# python3 test_stories.py --stories e2e/e2e_stories.md --e2e | ||
# | ||
#config-bot: | ||
# python /scripts/bot_config.py -r ${ROCKETCHAT_URL} -an ${ROCKETCHAT_ADMIN_USERNAME} -ap ${ROCKETCHAT_ADMIN_PASSWORD} -bu ${ROCKETCHAT_BOT_USERNAME} -bp ${ROCKETCHAT_BOT_PASSWORD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
telegram: | ||
access_token: ${TELEGRAM_TOKEN} | ||
verify: ${TELEGRAM_BOT_USERNAME} | ||
webhook_url: ${TELEGRAM_WEBHOOK} | ||
#telegram: | ||
# access_token: ${TELEGRAM_TOKEN} | ||
# verify: ${TELEGRAM_BOT_USERNAME} | ||
# webhook_url: ${TELEGRAM_WEBHOOK} | ||
|
||
#rocketchat: | ||
# user: ${ROCKETCHAT_BOT_USERNAME} | ||
# password: ${ROCKETCHAT_BOT_PASSWORD} | ||
# server_url: ${ROCKETCHAT_URL} | ||
|
File renamed without changes.
Oops, something went wrong.