# ContentModerationEvaluation

> **Class** in `langchain_azure_ai`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-ai/agents/middleware/content_safety/_base/ContentModerationEvaluation)

A harm-category evaluation from text or image content analysis.

## Signature

```python
ContentModerationEvaluation(
    self,
    category: str,
    severity: int = 0,
)
```

## Extends

- `ContentSafetyEvaluation`

## Constructors

```python
__init__(
    self,
    category: str,
    severity: int = 0,
) -> None
```

| Name | Type |
|------|------|
| `category` | `str` |
| `severity` | `int` |


## Properties

- `severity`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/7a6a664d617264df8dcb12fcfb1bacc09f21d504/libs/azure-ai/langchain_azure_ai/agents/middleware/content_safety/_base.py#L66)