OptionalapiThe xAI API key to use for requests.
OptionalbaseThe base URL for the xAI API.
OptionalmaxMaximum number of tokens to generate.
OptionalmodelThe name of the model to use.
OptionalreasoningDefault reasoning configuration.
OptionalsearchDefault search parameters for xAI's search capabilities.
OptionalstoreWhether to store the input messages and response.
OptionalstreamingWhether to stream responses.
OptionaltemperatureSampling temperature between 0 and 2.
OptionaltoolsDefault tools to make available to the model. Can be overridden per-request in call options.
OptionaltopNucleus sampling probability mass.
OptionaluserA unique identifier representing your end-user.
Input configuration for ChatXAIResponses constructor.