XAI_API_KEY environment variable to use the model as given below in the example.
Usage
Config
All available parameters for thexai config are present in Master List of All Params in Config.Configure xAI Grok models as an LLM provider in Mem0 with API key setup and usage examples.
XAI_API_KEY environment variable to use the model as given below in the example.
xai config are present in Master List of All Params in Config.