hot.dev/xai — xAI API bindings for Hot.
Add to your project
"hot.dev/xai": "0.9.2"
Add this to your deps in hot.hot
Namespaces
::xai
| Namespace | Functions | Types | Description |
|---|---|---|---|
::api | 2 | 1 | Make an HTTP request with pre-filled service headers. |
::embeddings | 4 | 5 | Create embeddings for text input(s). |
::images | 6 | 6 | Generate images from a text prompt. |
::models | 2 | 2 | List available models. |
::responses | 11 | 18 | Create a response (non-streaming). |
::search | 5 | 3 | Create a web search tool configuration. |