We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6b24f commit f01b771Copy full SHA for f01b771
e2e-tests/03-classification-api-test.py
@@ -132,9 +132,7 @@ def test_intent_classification(self):
132
133
if not category_correct:
134
if is_placeholder:
135
- failure_message = (
136
- f"Classification failed: returned placeholder 'general' instead of '{test_case['expected_category']}'"
137
- )
+ failure_message = f"Classification failed: returned placeholder 'general' instead of '{test_case['expected_category']}'"
138
else:
139
failure_message = (
140
f"Classification incorrect: expected '{test_case['expected_category']}', "
@@ -217,4 +215,3 @@ def test_batch_classification(self):
217
215
218
216
if __name__ == "__main__":
219
unittest.main()
220
-
0 commit comments