Evaluates whether the response is polite and respectful
This evaluation template assesses whether a text demonstrates politeness, respect, and appropriate social etiquette. It checks for the presence of courteous language, absence of rudeness, and adherence to social norms in communication.
result = evaluator.evaluate( eval_templates="is_polite", inputs={ "input": "Dear Sir, I hope this email finds you well. I look forward to any insights or advice you might have whenever you have a free moment" }, model_name="turing_flash")print(result.eval_results[0].output)print(result.eval_results[0].reason)