Greg Thompson commited on
Commit
8df7dc6
1 Parent(s): 64033b8

Add test cases for nlu endpoint

Browse files
Files changed (1) hide show
  1. scripts/make_request.py +4 -2
scripts/make_request.py CHANGED
@@ -60,8 +60,10 @@ def run_simulated_request(endpoint, sample_answer, context=None):
60
 
61
  # run_simulated_request('sentiment-analysis', 'I reject it')
62
  # run_simulated_request('text2int', 'seven thousand nine hundred fifty seven')
63
- # run_simulated_request('nlu', 'test message')
64
- # run_simulated_request('nlu', 'eight')
 
 
65
  run_simulated_request('nlu', 'eight, nine, ten')
66
  run_simulated_request('nlu', '8, 9, 10')
67
  run_simulated_request('nlu', '8')
 
60
 
61
  # run_simulated_request('sentiment-analysis', 'I reject it')
62
  # run_simulated_request('text2int', 'seven thousand nine hundred fifty seven')
63
+ run_simulated_request('nlu', 'test message')
64
+ run_simulated_request('nlu', 'eight')
65
+ run_simulated_request('nlu', 'is it 8')
66
+ run_simulated_request('nlu', 'can I know how its 0.5')
67
  run_simulated_request('nlu', 'eight, nine, ten')
68
  run_simulated_request('nlu', '8, 9, 10')
69
  run_simulated_request('nlu', '8')