# Category

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/evaluation/evaluator/Category)

A category for categorical feedback.

## Signature

```python
Category()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    value: Optional[Union[float, int]],
    label: str,
)
```

| Name | Type |
|------|------|
| `value` | `Optional[Union[float, int]]` |
| `label` | `str` |


## Properties

- `value`
- `label`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19dc497a3d89638e4cc35db72ea1c29cad35cbbf/python/langsmith/evaluation/evaluator.py#L31)