Skip to content

asimov-modules/asimov-xai-module

Repository files navigation

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

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

⚙ Configuration

Provide an API key either by module configuration

asimov module config xai

Or through environment variables

export ASIMOV_XAI_API_KEY="..."

Optional configuration

Name Environment Variable Default
endpoint ASIMOV_XAI_API_ENDPOINT https://api.x.ai
model ASIMOV_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

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors