# `Gemini.Types.Enums.HarmCategory`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.15.0/lib/gemini/types/enums.ex#L21)

Categories of harmful content that can be filtered.

## Values

- `:unspecified` - Default/unknown category
- `:harassment` - Harassment and bullying content
- `:hate_speech` - Hate speech targeting identity groups
- `:sexually_explicit` - Sexually explicit content
- `:dangerous_content` - Content promoting dangerous activities
- `:civic_integrity` - Content affecting civic integrity (elections, etc.)
- `:derogatory` - Derogatory content (deprecated)
- `:toxicity` - Toxic content (deprecated)
- `:violence` - Violent content (deprecated)
- `:sexual` - Sexual content (deprecated)
- `:medical` - Medical misinformation (deprecated)
- `:dangerous` - Dangerous content (deprecated)

# `t`

```elixir
@type t() ::
  :unspecified
  | :harassment
  | :hate_speech
  | :sexually_explicit
  | :dangerous_content
  | :civic_integrity
  | :derogatory
  | :toxicity
  | :violence
  | :sexual
  | :medical
  | :dangerous
```

# `all`

```elixir
@spec all() :: [t()]
```

# `from_api`

```elixir
@spec from_api(String.t() | nil) :: t() | nil
```

# `to_api`

```elixir
@spec to_api(t()) :: String.t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
