> ## Documentation Index
> Fetch the complete documentation index at: https://futureagi.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Clinically Inappropriate Tone

> Evaluates whether text uses an appropriate tone for clinical or healthcare contexts

<CodeGroup>
  ```python Python theme={null}
  result = evaluator.evaluate(
      eval_templates="clinically_inappropriate_tone", 
      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].metrics[0].value)
  print(result.eval_results[0].reason)
  ```

  ```typescript JS/TS theme={null}
  import { Evaluator, Templates } from "@future-agi/ai-evaluation";

  const evaluator = new Evaluator();

  const result = await evaluator.evaluate(
    "clinically_inappropriate_tone",
    {
      output: "You can try meditating for a few minutes each night to help improve your sleep."
    },
    {
      modelName: "turing_flash",
    }
  );

  console.log(result);
  ```
</CodeGroup>

| **Input** |                    |          |                                                           |
| --------- | ------------------ | -------- | --------------------------------------------------------- |
|           | **Required Input** | **Type** | **Description**                                           |
|           | `input`            | `string` | The text content to evaluate for clinical appropriateness |

| **Output** |            |                                                                                                           |
| ---------- | ---------- | --------------------------------------------------------------------------------------------------------- |
|            | **Field**  | **Description**                                                                                           |
|            | **Result** | Returns Passed if the tone is clinically appropriate, Failed if the tone is clinically inappropriate      |
|            | **Reason** | Provides a detailed explanation of why the text was classified as clinically appropriate or inappropriate |

***

### What to do If you get Undesired Results

If the content is detected as clinically inappropriate but appropriateness is required:

* Use professional, objective language
* Avoid casual phrases, jokes, or slang
* Maintain a respectful, supportive tone
* Focus on clear, factual information
* Use empathetic but professional phrasing
* Avoid minimizing health concerns or symptoms
* Use appropriate medical terminology when relevant

***

### Comparing Clinically Inappropriate Tone with Similar Evals

* [**Tone**](https://docs.futureagi.com/future-agi/products/evaluation/eval-definition/tone): While Clinically Inappropriate Tone focuses specifically on appropriateness in healthcare contexts, Tone evaluation assesses the broader emotional context and sentiment.
* [**Is Informal Tone**](https://docs.futureagi.com/future-agi/products/evaluation/eval-definition/is-informal-tone): Clinically Inappropriate Tone evaluates suitability for medical or healthcare settings, whereas Is Informal Tone focuses on detecting casual language usage in general contexts.
