Get an API key from the xAI Console
Configuration
- YAML
- JSON (Deprecated)
config.yaml
Check out a more advanced configuration
here
name: My Config
version: 0.0.1
schema: v1
models:
- name: <MODEL_NAME>
provider: xai
model: <MODEL_ID>
apiKey: <YOUR_XAI_API_KEY>
{
"models": [
{
"title": "<MODEL_NAME>",
"provider": "xai",
"model": "<MODEL_ID>",
"apiKey": "<YOUR_XAI_API_KEY>"
}
]
}
Was this page helpful?