Published Apr 2024

Cookbook recipes to get up and running with Spice.ai quickly ๐
spice add spiceai/cookbook-models-xai-recipespice connect spiceai/cookbook-models-xai-recipedependencies:
- spiceai/cookbook-models-xai-recipeversion: v1
kind: Spicepod
name: xai
models:
- from: xai:grok-4.3
name: xai
params:
xai_api_key: ${secrets:SPICE_XAI_API_KEY}
Works with v1.0+
This recipe demonstrates how to use xAI's Grok models with Spice.ai.
.env file with your xAI API key (or edit directly in the spicepod.yaml).spice run
spice chat:spice chat
chat> Who are you and who made you?
Published Apr 2024
Published Sep 2024
Published Sep 2024
Published Sep 2024