Skip to content

Commit b32b27e

Browse files
committed
added complete intent and response key to the 'intent' key
1 parent 970e3be commit b32b27e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rasa/nlu/test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,9 +1208,11 @@ def get_eval_data(
12081208

12091209
response_target = example.get("response", "")
12101210

1211+
complete_intent = example.get_combined_intent_response_key()
1212+
12111213
response_selection_results.append(
12121214
ResponseSelectionEvaluationResult(
1213-
intent_target,
1215+
complete_intent,
12141216
response_target,
12151217
response_prediction.get("name"),
12161218
result.get("text", {}),

0 commit comments

Comments
 (0)