langchain_community.callbacks.labelstudio_callback
.get_default_label_configs¶
- langchain_community.callbacks.labelstudio_callback.get_default_label_configs(mode: Union[str, LabelStudioMode]) Tuple[str, LabelStudioMode] [source]¶
Get default Label Studio configs for the given mode.
- Parameters
mode (Union[str, LabelStudioMode]) – Label Studio mode (“prompt” or “chat”)
- Return type
Tuple[str, LabelStudioMode]
Returns: Tuple of Label Studio config and mode