product · inferred from evidence
xai-org/xai-sdk-python
The GitHub repository hosting the xAI Python SDK, referenced as the source of a test example.
- 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