Skip to content

Commit

Permalink
Merge pull request #1757 from RasaHQ/evaluation_deprecation
Browse files Browse the repository at this point in the history
add evaluate with deprecation warning
  • Loading branch information
MetcalfeTom committed Mar 5, 2019
2 parents 1d323ee + 7773592 commit 894f333
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rasa_nlu/evaluate.py
@@ -0,0 +1,10 @@
import logging

import rasa_nlu.test as test

logger = logging.getLogger(__name__)

if __name__ == '__main__': # pragma: no cover
logger.warning("Calling `rasa_nlu.evaluate` is deprecated. "
"Please use `rasa_nlu.test` instead.")
test.main()

0 comments on commit 894f333

Please sign in to comment.