Skip to main content
result = evaluator.evaluate(
    eval_templates="no_harmful_therapeutic_guidance",
    inputs={
        "output": "You can try meditating for a few minutes each night to help improve your sleep."
    },
    model_name="turing_flash"
)

print(result.eval_results[0].output)
print(result.eval_results[0].reason)
Input
Required InputTypeDescription
outputstringContent to evaluate for potentially harmful therapeutic guidance.
Output
FieldDescription
ResultReturns Passed if no harmful therapeutic guidance is detected, or Failed if harmful therapeutic guidance is detected.
ReasonProvides a detailed explanation of why the content was classified as containing or not containing harmful therapeutic guidance.

What to do If you get Undesired Results

If the content is flagged as containing harmful therapeutic guidance (Failed) and you want to improve it:
  • Avoid giving specific medical diagnoses, treatments, or dosage recommendations
  • Remove claims that could discourage someone from seeking professional medical help
  • Add disclaimers about consulting healthcare professionals for medical issues
  • Replace absolute statements with qualified language (e.g., “may help” instead of “will cure”)
  • Focus on general wellness advice rather than specific therapeutic interventions
  • Remove recommendations for stopping prescribed medications or treatments
  • Avoid presenting alternative therapies as replacements for conventional medical care
  • Be especially cautious with advice related to serious conditions, mental health, or vulnerable populations

Comparing No Harmful Therapeutic Guidance with Similar Evals

  • Is Harmful Advice: No Harmful Therapeutic Guidance specifically focuses on medical and therapeutic recommendations, while Is Harmful Advice evaluates a broader range of potentially harmful guidance.
  • Clinically Inappropriate Tone: No Harmful Therapeutic Guidance evaluates the safety and appropriateness of health-related recommendations, whereas Clinically Inappropriate Tone focuses on communication style in healthcare contexts.
  • Content Safety Violation: No Harmful Therapeutic Guidance specifically evaluates health-related recommendations, while Content Safety Violation detects various types of unsafe or prohibited content.
I