Providers
grokEmbedder
xAI embedding model.
import { grokEmbedder } from '@agentskit/adapters'
const embed = grokEmbedder({
apiKey: process.env.XAI_API_KEY!,
})#Options
| Option | Type | Default |
|---|---|---|
apiKey | string | required |
model | string | provider default |
baseUrl | string | https://api.x.ai/v1 |
#Related
Explore nearby
- PeerProviders
25 native chat and embedder adapters, plus higher-order adapters that compose candidates. Separate from the 140-provider models catalog.
- PeerChoosing an adapter
Capability decision table and rules of thumb for picking a chat adapter.
- PeerHosted chat adapters
17 managed-LLM adapters. Same contract; swap by changing one import.