-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
1 changed file
with
18 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,18 @@ | ||
# xAI | ||
|
||
- [xAI](https://docs.x.ai/docs) | ||
- SOPHIA | ||
|
||
⚠️ **Please note that using some AI providers, such as xAI's API, can be expensive. Monitor your usage carefully to avoid incurring unexpected costs. We're NOT responsible for your usage under any circumstance.** | ||
|
||
## Quick Start Guide | ||
|
||
- Instructions for setting up an API key to use xAI's Grok models can be found [here](https://docs.x.ai/docs#getting-started). | ||
|
||
### Update your agent settings | ||
|
||
1. Set `AI_PROVIDER` to `openai`. | ||
2. Set `OPENAI_API_URI` to `https://api.x.ai/v1` | ||
3. Set `OPENAI_API_KEY` to your xAI API key. | ||
4. Set `OPENAI_MODEL` to `grok-beta` or your preferred xAI model. | ||
5. Set `OPENAI_MAX_TOKENS` to the maximum number of input tokens. |