langchain_core.utils.utils.xor_args¶

langchain_core.utils.utils.xor_args(*arg_groups: Tuple[str, ...]) Callable[source]¶

Validate specified keyword args are mutually exclusive.

Parameters

arg_groups (Tuple[str, ...]) –

Return type

Callable