# get_default_label_configs

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/callbacks/labelstudio_callback/get_default_label_configs)

Get default Label Studio configs for the given mode.

## Signature

```python
get_default_label_configs(
    mode: Union[str, LabelStudioMode],
) -> Tuple[str, LabelStudioMode]
```

## Description

Returns: Tuple of Label Studio config and mode

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `mode` | `Union[str, LabelStudioMode]` | Yes | Label Studio mode ("prompt" or "chat") |

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/callbacks/labelstudio_callback.py#L21)