LangChain
Core
Community
Experimental
robocorp
openai
together
google-genai
nvidia-ai-endpoints
google-vertexai
anthropic
exa
mistralai
nvidia-trt
Partner libs
robocorp
openai
together
google-genai
nvidia-ai-endpoints
google-vertexai
anthropic
exa
mistralai
nvidia-trt
Docs
Toggle Menu
Prev
Up
Next
langchain_core.utils.utils
.xor_args
xor_args()
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.