asimov-xai-module 0.0.2

ASIMOV xAI module.
Documentation

ASIMOV xAI Module

License Package on Crates.io Documentation

ASIMOV xAI module.

✨ Features

  • To be determined!

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition) if building from source code

⬇️ Installation

Installation with ASIMOV CLI

asimov module install xai -v

Installation from Source Code

cargo install asimov-xai-module

👉 Examples

asimov-xai-prompter

⚙ Configuration

Provide an API key either by module configuration

asimov module config xai

Or through environment variables

export XAI_API_KEY="..."

Optional configuration

Name Environment Variable Default
endpoint XAI_API_ENDPOINT https://api.x.ai
model XAI_MODEL grok-3-mini

📚 Reference

Prompt

echo "Why is the sky blue?" | asimov-xai-prompter

👨‍💻 Development

git clone https://github.com/asimov-modules/asimov-xai-module.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn