-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab5a8b2
commit 20ab5f9
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
parent: Connecting to LLMs | ||
nav_order: 400 | ||
--- | ||
|
||
# xAI | ||
|
||
You'll need a [xAI API key](https://console.x.ai.). | ||
|
||
To use xAI: | ||
|
||
``` | ||
python -m pip install -U aider-chat | ||
export XAI_API_KEY=<key> # Mac/Linux | ||
setx XAI_API_KEY <key> # Windows, restart shell after setx | ||
aider --model xai/groq-beta | ||
# List models available from xAI | ||
aider --list-models groq/ | ||
``` | ||
|
||
|