Skip to content

Commit

Permalink
Add rotation provider (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoraMA-01 authored Jan 21, 2025
1 parent a6f73ff commit 99960b0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/3-Providers/3-xAI.md
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.

0 comments on commit 99960b0

Please sign in to comment.