library · inferred from evidence
xAI Python SDK
The Python-specific version of the xAI SDK for model interactions.
- xAI SDK: how to force the model to call a specific function
Does forcing a specific function to be called actually work in the xAI Python SDK? I am testing something similar to OpenAI function calling and the model does not seem to honor it. I followed the OpenAI-style tool_choice pattern from the d