---
title: Category
seo:
  title: Category — Python SDK
  description: >-
    Defines one allowed category for a `CategoricalResponse` scorer. (Python
    SDK)
description: Defines one allowed category for a `CategoricalResponse` scorer.
---

## Attributes

| Prop | Type | Default | Description |
| - | - | - | - |
| `value?` | `str` | - | Category label (must be unique within the scorer). |
| `description?` | `str` | `''` | What this category means. |
