Skip to main content
result = evaluator.evaluate(
    eval_templates="cultural_sensitivity",
    inputs={
        "output": "This is a sample text to check for cultural sensitivity"
    },
    model_name="turing_flash"
)

print(result.eval_results[0].output)
print(result.eval_results[0].reason)
Input
Required InputTypeDescription
outputstringThe content to analyse for cultural appropriateness.
Output
FieldDescription
ResultReturns Passed or Failed, where Passed indicates culturally appropriate content and Failed indicates potential cultural insensitivity.
ReasonProvides a detailed explanation of the cultural sensitivity assessment

What to Do When Cultural Sensitivity Fails

Review the evaluation criteria to ensure they are well-defined and aligned with the assessment’s objectives. If necessary, the criteria should be adjusted to ensure they comprehensively address inclusivity and cultural awareness. Next, a detailed analysis of the text should be conducted to identify any language that may be biased, exclusionary, or insensitive. Refinements should be made to enhance cultural appropriateness, ensuring that the text respects diverse perspectives and promotes inclusivity.

Differentiating Cultural Sensitivity with Tone

Cultural Sensitivity focuses on ensuring that language and content are appropriate within cultural contexts, promoting inclusivity and respect for diversity. In contrast, Tone evaluation identifies the emotional tone of the text, categorising it into specific emotional states. Cultural Sensitivity provides a Pass/Fail result based on the presence of culturally insensitive language, whereas Tone evaluation produces a set of choices indicating the emotional tone detected.
I