Spaces:
Runtime error
Runtime error
update make_request.py module
Browse files- scripts/make_request.py +26 -27
scripts/make_request.py
CHANGED
|
@@ -77,34 +77,33 @@ run_simulated_request('nlu', 'IDK 5?')
|
|
| 77 |
# run_simulated_request('manager', 'add')
|
| 78 |
# run_simulated_request('manager', 'subtract')
|
| 79 |
|
| 80 |
-
run_simulated_request("start", {
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
})
|
| 84 |
-
run_simulated_request("hint", {
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
})
|
| 89 |
-
run_simulated_request("question", {
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
})
|
| 94 |
-
run_simulated_request("difficulty", {
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
})
|
| 98 |
-
run_simulated_request("
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
'difficulty': 0.01 # optional
|
| 102 |
-
})
|
| 103 |
-
run_simulated_request("sequence", {
|
| 104 |
-
'start': 2,
|
| 105 |
-
'step': 1,
|
| 106 |
-
'sep': '... '
|
| 107 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
# run_simulated_request('manager', 'exit')
|
| 110 |
|
|
|
|
| 77 |
# run_simulated_request('manager', 'add')
|
| 78 |
# run_simulated_request('manager', 'subtract')
|
| 79 |
|
| 80 |
+
# run_simulated_request("start", {
|
| 81 |
+
# 'difficulty': 0.04,
|
| 82 |
+
# 'do_increase': True
|
| 83 |
+
# })
|
| 84 |
+
# run_simulated_request("hint", {
|
| 85 |
+
# 'start': 5,
|
| 86 |
+
# 'step': 1,
|
| 87 |
+
# 'difficulty': 0.56 # optional
|
| 88 |
+
# })
|
| 89 |
+
# run_simulated_request("question", {
|
| 90 |
+
# 'start': 2,
|
| 91 |
+
# 'step': 1,
|
| 92 |
+
# 'question_num': 2 # optional
|
| 93 |
+
# })
|
| 94 |
+
# run_simulated_request("difficulty", {
|
| 95 |
+
# 'difficulty': 0.01,
|
| 96 |
+
# 'do_increase': False # True | False
|
| 97 |
+
# })
|
| 98 |
+
run_simulated_request("num_one", {
|
| 99 |
+
"user_id": "1",
|
| 100 |
+
"message_text": "61",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
})
|
| 102 |
+
# run_simulated_request("sequence", {
|
| 103 |
+
# 'start': 2,
|
| 104 |
+
# 'step': 1,
|
| 105 |
+
# 'sep': '... '
|
| 106 |
+
# })
|
| 107 |
|
| 108 |
# run_simulated_request('manager', 'exit')
|
| 109 |
|