Skip to content

Commit

Permalink
amendmend to PR RasaHQ#7423
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz committed Dec 16, 2020
1 parent 021bcb1 commit fd037be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rasa/nlu/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,9 +1052,11 @@ def get_eval_data(

response_prediction_full_intent = selector_properties.get(
response_prediction_key, {}
).get("full_retrieval_intent", {})
).get("full_retrieval_intent", None)

response_key = example.get_combined_intent_response_key()
response_key = None
if example.get(RESPONSE_KEY_ATTRIBUTE) is not None:
response_key = example.get_combined_intent_response_key()

response_selection_results.append(
ResponseSelectionEvaluationResult(
Expand Down

0 comments on commit fd037be

Please sign in to comment.