# get_enum_value

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/utils/get_enum_value)

Get the value of a string enum.

## Signature

```python
get_enum_value(
    enu: Union[enum.Enum, str],
) -> str
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/utils.py#L187)